Author: Pedro Lucas Porcellis <pedrolucasporcellis@gmail.com>
Remove only the binary
Makefile | 8 +++++++-
diff --git a/Makefile b/Makefile index e35057c8793a92ab4c4468a6f65a3e562f8076c8..6aaebaf05ae6ed45d0699db9554f64c3c6bd260d 100644 --- a/Makefile +++ b/Makefile @@ -11,5 +11,11 @@ t: .go env GOPATH=$(GOPATH) go build -o $@ ./main.go +get: .go + env GOPATH=$(GOPATH) go get -d ./... + clean: - rm -rf .go t + rm -rf t + +.PHONY: + t get clean