mage
mage copied to clipboard
a Make/rake-like dev tool using Go
Examples of dependencies, usage of sh and mg, how to structure files for readability, etc.
If you run mage in a package outside gopath (i.e. using modules), when it tries to run `go list` to determine the files it needs to build, `go list` will...
First, thanks for this fantastic project 💪 In my opinion, a similar build system like Mage should be supported as official Go tool that is used by the `go` command...
If an invalid kind of dependency is passed into `mg.Deps`, then it's pretty hard to nail down what has happened, as the error message does not provide any location where...
I would like to run a target/function when another target gets closed using ctrl-c. The reason for this is I'm creating a webserver using go, and have a mage target...
given: sh.RunV(command, action, "--user", "foo", "--password", "bar$baz") The password will always be converted to: barbaz. I've tried to escape: \\$, $$, 'bar$baz' I've tried byte buffers and string slices. RunV...
Hello :smile: I want to improve `sh.Copy` adding support for multiple files and directories, but I was wondering: * For multiple files, the signature of `sh.Copy` will be `func Copy(dst...
## Steps to reproduce: - on a system without mage installed, clone a Go 1.11 module project that uses mage, e.g. https://github.com/dmolesUC3/cos - attempt to follow the [installation instructions](https://magefile.org/#installation): ```...
I think I found a small bug that occurs when using a [PackageName](https://golang.org/ref/spec#Import_declarations) in an import declaration and declaring an alias that references that package. It seems that the `Name`...