-
Notifications
You must be signed in to change notification settings - Fork 257
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
Better installations #234
Comments
So, yes, that's a good idea. But... Mage requires go to be available. Go can download and install mage (and mage has no external dependencies, so you don't even need to worry about dependency management), so it's generally not a big deal for most uses. Is this just a general "this would be a good idea" request, or is there a problem you're having that needs a better solution? Knowing that can help me prioritize the issue. |
The default instructions are kind of ominous from a security or "what did it just do?" standpoint. Honestly, I don't know what bootstrap actually does. Being able to download/install the binary easily without extracting it from a tar would be great. Just thinking of the best way to get up and running quickly, easily and reliably both locally and in a ci/cd environment.
|
Did you try https://magefile.org/zeroinstall/? You don't need to download any file in this way and you can manage versions with modules or dep. If you don't want to type
#!/bin/sh
exec go run mage.go $@ And just type
os: linux
dist: xenial
git:
depth: 1
language: go
go: "1.12.2"
env:
- GO111MODULE=on
script: ./mage -v test |
Good information. I will use this. Thank you |
FYI, I just run |
It would be nice if mage was distributed in other ways like brew, apt, apk, yum, chocolatey. This would make installation trivial.
The text was updated successfully, but these errors were encountered: