From 853973ad465c0ed94dcd936e9632b0995f2c8938 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sat, 30 Sep 2017 11:47:04 -0700 Subject: [PATCH] mage: package now rebuilds everything --- mage.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mage.go b/mage.go index efaf11d..7ae4f75 100644 --- a/mage.go +++ b/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)