zigup
zigup copied to clipboard
Feature request: read `minimum_zig_version` field of build.zig.zon
Thanks for making this awesome tool! I love how simple it is to install and use.
What do you think about a feature like this?
- when
zigupis run within a folder that contains abuild.zig.zon, zigup will install the version of the compiler specified by theminimum_zig_versionfield.
if running zigup with no arguments does too much in this case, then perhaps it could be:
zigup zonzigup herezigup thiszigup cwd
Seems like a reasonable enhancement. You might be interested in my new project https://github.com/marler8997/anyzig which uses this mechanism but does so with a new zig executable (a little bit different then your proposal).