diff --git a/Makefile b/Makefile index 534724e..ea8b6e9 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,10 @@ generate-bindata-debug: go-bindata -debug -o tmpl/bindata.go -pkg tmpl tmpl -build: +clean: + rm -f build/* + +build: clean go-bindata -o tmpl/bindata.go -pkg tmpl tmpl env GOOS=darwin GOARCH=amd64 go build -ldflags "-X github.com/mleonard87/frosty/cli.frostyVersion=0.0.1" -o "build/darwin_amd64" frosty.go env GOOS=linux GOARCH=386 go build -ldflags "-X github.com/mleonard87/frosty/cli.frostyVersion=0.0.1" -o "build/linux_386" frosty.go