forked from magefile/mage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add variadic support to mg.F (magefile#402)
Allows to pass sh.Run to mg.F as such: mg.Deps( mg.F(sh.Run, "go", "test", "./..."), ) This improves the magefile by removing some of the one-liner functions that you might end up with that are only used through mg.Deps. Resolves magefile#401.
- Loading branch information
Showing
2 changed files
with
50 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters