Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Build mage with bootstrap.go #5179
I noticed you're installing mage with
This will download the mage source and install it (if you're using a gopath):
If you're using modules, you can do it with good old git clone:
note that in the second case, the binary will be copied to where
What do you mean by that? Is it a "less functional binary" or is it just cosmetics? (i.e. the output of "mage -version").
I don't care about the cosmetic version info. I do, however, care about getting the correct version (the one in my
Hmm, I'll have to work on those examples if they're not accurate. Also I think there's some more tweaks that are needed for building in a clean environment. I think I need to use the new golang.org/x/tools/packages to fully support type checking outside of gopath.