Mage

maker go automation

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

The initial idea to get Mage in place was twofold:

That was it, pretty simple. Cross-platform and extendable.

We quickly added a series of pre-commit hooks, with help from Husky, to address the recurring merge request (pull request) issues - saving valuable time for all involved.

The zero install option for Mage lets us manage the project’s dependencies in the project’s go.mod file.

While not the shortest command, go run mage.go <target>, is easily supportable across all operating systems Go supports.

Mage has turned out to be a great cross-platform solution for task scripting.