mage: package now rebuilds everything
This commit is contained in:
parent
795b4a76e6
commit
853973ad46
9
mage.go
9
mage.go
|
@ -14,6 +14,7 @@ import (
|
|||
"strings"
|
||||
|
||||
"github.com/jtolds/qod"
|
||||
"github.com/magefile/mage/mg"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
|
@ -145,11 +146,11 @@ func Package() {
|
|||
ctx, cancel := context.WithCancel(context.Background())
|
||||
defer cancel()
|
||||
|
||||
//os.RemoveAll("./bin/darwin")
|
||||
//os.RemoveAll("./bin/linux")
|
||||
//os.RemoveAll("./bin/windows")
|
||||
os.RemoveAll("./bin/darwin")
|
||||
os.RemoveAll("./bin/linux")
|
||||
os.RemoveAll("./bin/windows")
|
||||
|
||||
//mg.Deps(Linux, Windows, Darwin)
|
||||
mg.Deps(Linux, Windows, Darwin)
|
||||
|
||||
ver, err := gitTag()
|
||||
qod.ANE(err)
|
||||
|
|
Loading…
Reference in New Issue