1
0
mirror of https://github.com/magefile/mage.git synced 2026-10-24 06:19:18 +03:00
Commit Graph

6 Commits

Author SHA1 Message Date
Nate Finch
a8460f7aa9 Ensure we print an error if running the compiled magefile fails (#171)
* print an error if one comes back from running compiled binary

* rework the code a little bit and make sure mage -version prints to stdout

* export CmdRan and use it so we only log an error of not being able to run the magefile
2018-09-21 07:31:15 -04:00
mathew
97989d07a9 Add sh.Copy (#130)
Add sh.Copy function to easily copy files.
2018-09-11 16:11:04 -04:00
James S
df367221b6 context for jobs (#32)
Allows for jobs that take and call with a context.  Closes #25
2017-10-17 23:57:04 -04:00
Nate Finch
61c945fcb0 passthrough stdin (#63)
passthrough stdin from mage to running magefiles so that commands can get input from user.
2017-10-13 12:45:15 -04:00
Nate Finch
41a9bd8922 add version flag, add magefile for building (#29) 2017-10-02 23:07:19 -04:00
Nate Finch
8fa000d89f Helpers galore (#26)
* Helpers galore

This commit adds helper functions that should be commonly needed
by many magefiles. It includes command execution handlers as well
as error handlers.

This commit also removes the only two non-stdlib dependencies in
the codebase.  Since mage will likely be vendored into a repo,
it would be nice to avoid cluttering the vendor directory with
dependencies that are only for the build script.
2017-10-02 22:22:21 -04:00