1
0
mirror of https://github.com/magefile/mage.git synced 2026-10-24 06:19:18 +03:00
Files
mage/parse/testdata/subcommands.go
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

16 lines
207 B
Go

// +build mage
package main
import "github.com/magefile/mage/mg"
type Build mg.Namespace
func (Build) Foobar() error {
// do your foobar build
return nil
}
func (Build) Baz() {
// do your baz build
}