`haxeget install latest`, and install haxe from github releases using octocrab
"latest" will lead to the latest release uploaded to github releases ex: github.com/HaxeFoundation/haxe/releases/latest will link to the 4.3.4 tag/release.
octocrab is a crate I added since I'm too lazy to write up the API schema stuff... lol!
Using octocrab, we can make a nice and easy call to get the latest github haxe release, and nice and easily download it by passing in latest to haxeget install
todo
- when inputting
latest, make sure it gets logged as whatever the version downloaded was into the cache (haxeget listwill showlatestrather than4.3.4)
Real neat! Please alert me once this is suitable to be merged. Do we need octocrab? Pretty sure I have everything exposed already?
very likely don't need octocrab! I was just lazy lolol, i will poke into the github_schema and use those api bindings
I do think though it makes it nicer to not have to do any json / http request parsing/setup for github api, food for thought :)
very likely don't need octocrab! I was just lazy lolol, i will poke into the github_schema and use those api bindings
I do think though it makes it nicer to not have to do any json / http request parsing/setup for github api, food for thought :)
Do whatever you think will be best, I'll leave the judgement up to you.