github magefile/mage v1.8.0
v1.8.0 - Papercuts and Bug Fixes

latest releases: v1.15.0, v1.14.0, v1.13.0...
5 years ago

Details

Several nice to have fixes that have been waiting for some TLC. The important ones:

  • Binaries compiled with -compile now have support for all the applicable flags from Mage itself, so for example you can do <your binary> -l to list the targets. see https://magefile.org/compiling/ for full details.
  • Specifying GOOS and GOARCH now won't confuse mage. Previously if you attempted to use mage to run go build and specified a different GOOS or GOARCH in your environment variables, those environment variables would change the binary that mage builds out of your magefile, and generally made it not executable on your system. Now that won't happen. To run -compile and create a binary for a different platform, use the -goos and -goarch flags.

Changelog

fix one line imports as mage:imports (#204)
refactor alias/default parsing to support imported packages and namespaces (#203)
GOOS and GOARCH fixes (#202)
Compiled flags (#201)

Don't miss a new mage release

NewReleases is sending notifications on new releases.