dave/vendor/github.com/magefile/mage
2018-04-12 21:16:38 +02:00
..
build Add vendor deps 2018-04-12 21:16:38 +02:00
mage Add vendor deps 2018-04-12 21:16:38 +02:00
mg Add vendor deps 2018-04-12 21:16:38 +02:00
parse Add vendor deps 2018-04-12 21:16:38 +02:00
sh Add vendor deps 2018-04-12 21:16:38 +02:00
site Add vendor deps 2018-04-12 21:16:38 +02:00
target Add vendor deps 2018-04-12 21:16:38 +02:00
types Add vendor deps 2018-04-12 21:16:38 +02:00
.gitattributes Add vendor deps 2018-04-12 21:16:38 +02:00
.gitignore Add vendor deps 2018-04-12 21:16:38 +02:00
.goreleaser.yml Add vendor deps 2018-04-12 21:16:38 +02:00
.travis.yml Add vendor deps 2018-04-12 21:16:38 +02:00
contrib_test.go Add vendor deps 2018-04-12 21:16:38 +02:00
CONTRIBUTING.md Add vendor deps 2018-04-12 21:16:38 +02:00
Gopkg.lock Add vendor deps 2018-04-12 21:16:38 +02:00
Gopkg.toml Add vendor deps 2018-04-12 21:16:38 +02:00
LICENSE Add vendor deps 2018-04-12 21:16:38 +02:00
magefile.go Add vendor deps 2018-04-12 21:16:38 +02:00
main.go Add vendor deps 2018-04-12 21:16:38 +02:00
README.md Add vendor deps 2018-04-12 21:16:38 +02:00

mage

Mage is a make/rake-like build tool using Go.

Build Status

Demo

Mage Demo

Discussion

Join the #mage channel on gophers slack for discussion of usage, development, etc.

Documentation

see magefile.org for full docs

see godoc.org/github.com/magefile/mage/mage for how to use mage as a library.

Why?

Makefiles are hard to read and hard to write. Mostly because makefiles are essentially fancy bash scripts with significant white space and additional make-related syntax.

Mage lets you have multiple magefiles, name your magefiles whatever you want, and they're easy to customize for multiple operating systems. Mage has no dependencies (aside from go) and runs just fine on all major operating systems, whereas make generally uses bash which is not well supported on Windows. Go is superior to bash for any non-trivial task involving branching, looping, anything that's not just straight line execution of commands. And if your project is written in Go, why introduce another language as idiosyncratic as bash? Why not use the language your contributors are already comfortable with?

TODO

  • File conversion tasks