HaxeFoundation / try.haxe.org

run Haxe code snippets in your browser
https://try.haxe.org
MIT License
18 stars 10 forks source link

Add hxmath lib to Build Options #1

Closed AustinEast closed 3 years ago

AustinEast commented 3 years ago

This PR adds the hxmath library to the available build options.

AlexHaxe commented 3 years ago

hxmath lib has no src folder so hxmath.hxml is pointing to a non existant path. once corrected it complains about missing nanotest library, because of Test.hx which pulls in all testcases from project root.

I can fix those after install, but it would be best if Test.hx could be moved to test folder. I reckon everyone using hxmath lib will have type Test available in global namespace?

AustinEast commented 3 years ago

I reckon everyone using hxmath lib will have type Test available in global namespace?

Wow. yeah, I just checked in a project and Test.hx is indeed available in the namespace. Never noticed that before! I'll raise an issue about it in the repo.

AustinEast commented 3 years ago

hxmath’s project structure has been updated so that the namespace issues should no longer be a problem 👍

should i request a new haxelib release for hxmath, or are we okay with moving forward with a git version?

AlexHaxe commented 3 years ago

thanks, I'm fine with a git version

AlexHaxe commented 3 years ago

online demo: https://try.haxe.org/#f3c70192