github.com/inflatablewoman/deis@v1.0.1-0.20141111034523-a4511c46a6ce/contrib/bumpver/Makefile (about) 1 build: 2 CGO_ENABLED=0 godep go build -a -ldflags '-s' . 3 4 upx: 5 upx -9 --brute bumpver && upx -t bumpver 6 7 clean: 8 rm -f bumpver 9 10 setup-gotools-sudo: 11 sudo GOPATH=/tmp/tmpGOPATH go get code.google.com/p/go.tools/cmd/cover 12 sudo GOPATH=/tmp/tmpGOPATH go get code.google.com/p/go.tools/cmd/vet 13 sudo rm -rf /tmp/tmpGOPATH 14 @echo 'Please ensure that $$GOPATH/bin is in your $$PATH.' 15 16 setup-gotools: 17 go get github.com/tools/godep 18 go get github.com/golang/lint/golint 19 @echo 'Please ensure that $$GOPATH/bin is in your $$PATH.' 20 21 test-style: 22 go vet -x ./... 23 -golint . 24 25 test: test-style 26 godep go test -v -cover ./...