-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkgx --ensure make
uses the system make if poss
#1133
Conversation
pkgx --ensure make
uses the system make if poss
2b748cd
to
17b48fa
Compare
There are edge cases that this does not handle, ottomh: Also, importantly, A |
this could range from which suggests that maybe this should take a $ pkgx --ensure=make,git,clang make foo |
We could add something to package.yml to parse versions but that’s a lot of additional metadata for a feature that is only “nice”. So yeah your suggestion is better, though I am leaning towards this should be a mash script. $ pkgx mash pkgx/fallback git clone […] |
it's a lot of additional characters, but since it's maximally useful in scripts and README's, it's far from impossible. |
Additionally, |
k I added $ mash pkgx/ensure git --version
$ eval "$(mash pkgx/ensure +git)" So I will revert this due to it not being possible to do properly with the full range of pkgx use. The mash script is much simpler too. |
No description provided.