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

13 Commits

Author SHA1 Message Date
Nate Finch
edea463951 refactor alias/default parsing to support imported packages and namespaces (#203)
fixes #192
2018-12-11 14:22:28 -05:00
Nate Finch
0f9693c143 implement importing magefiles (#187)
implement mageimports
2018-10-10 23:44:18 -04:00
Nate Finch
a7a8e067f4 Support namespace functions with aliases and defaults (#183)
* support namespace funcs as aliases and defaults

fixes #181
2018-09-25 23:46:37 -04:00
Nate Finch
01342b9221 Add debug flag (#143)
* add a bunch of debug logging
2018-08-31 08:45:43 -06:00
Ryan Faerman
c807db8c20 Add namespace/subcommand support to Mage (#121)
Introduce an exported Namespace type in mg and use it to generate new targets.
2018-07-22 21:23:34 -04:00
Sunny
63768081a3 parse: sanitize function doc synopsis (#95)
This change adds `sanitizeSynopsis()` function to perform basic
sanitization on the synopsis. If synopsis begins with the function name, it
removes the function to avoid repeating words.
2017-12-29 07:42:55 -05:00
Marcin Białoń
898127b487 Support for aliases (#58) (#90) 2017-11-06 23:42:24 -05:00
Nate Finch
be7943de50 Support multiple targets (#65)
* support multiple targets

* fix #66

* isolated list test

* add clean target to mage's magefile
2017-10-18 10:40:37 -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
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
Nate Finch
9dc8074005 implments configurable default targets (#7) 2017-09-27 00:05:03 -04:00
Nate Finch
d95f2a0d68 works now 2017-09-22 11:27:23 -04:00
Nate Finch
82d2f22ea3 parsing 2017-09-21 16:32:22 -04:00