mage: package now rebuilds everything

This commit is contained in:
Cadey Ratio 2017-09-30 11:47:04 -07:00
parent 795b4a76e6
commit 853973ad46
No known key found for this signature in database
GPG Key ID: D607EE27C2E7F89A
1 changed files with 5 additions and 4 deletions

View File

@ -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)