Open ruby0x1 opened 9 years ago
I wasn't aware that there was a nightly build! You can currently run hvm use haxe dev
to download the latest development build from hxbuild, and the hvm use haxe latest
to re-download it (ensure you're on the latest, otherwise "dev" will just be the last dev build you installed.
I'd like to see all builds – stable, nightly, CI – on hxbuild as we're currently installing from several locations and it's a bit messy. Maybe we could also get hxbuild to output some easily parseable version manifests as we're currently scraping haxe.org, and available neko builds are hard coded.
There's some more discussion about this over on #3
I'm not wedded to shell scripts, I just really wanted to avoid moving files around if possible (requiring sudo/admin), so we're just changing environment variables atm. Surely something similar is possible on Windows. I'd also like to avoid this being a haxelib runner as that's a recipe for a broken environment!
So, I guess a cross platform executables compiled with hxcpp is the way to go.
/cc @waneck again
Gotcha. I know that it can't be "in" haxe since if you have a broken build you're done for. Just with haxe, the ability to switch haxe versions once installed is really, really nice for active developers, and opens the doors for others to test well ahead without uprooting their entire dev stack to do so, when they don't understand the details involved in all the steps it becomes insurmountable to even care.
So if I understand correctly then - the "nightly" link I put - that's the output of hxbuilds already. All I meant really : "latest possible prebuilt version as a zip file to easily download and set as current".
In even other words : I don't want to be building haxe myself from the git version ever, just use it. I want a prebuilt one of the latest available std+compiler. The hxbuilds ones are frequent enough I've found, unless I am testing an extremely bleeding edge change which is more uncommon.
Just noting this here, as I assume it has been considered or even implemented, but
hvm use haxe nightly
fetching from builds.haxe.org would be great.When testing 3.2 pre-release it was a nightmare to manage, not only are the versions manually copy pasting - they are also all mislabelled as 3.1.3.
waneck and I discussed the idea of what hvm is doing, tying into the output of hxbuild so that nightly could be a user facing option without risking breaking a working setup.
I think hvm features should (when stable) come with haxe install, as it makes testing pre-releases or switching for projects infinitely nicer :)
Are you planning on keeping it shell scripts btw?