diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c45bb2f --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +# Simple go Makefile + +.PHONY : all +all: build + +.PHONY: build +build: clean + go build + +.PHONY: run +run: + go run -race main.go + +.PHONY: clean +clean: + go clean + +.PHONY: test +test: + go test -v -count=1 -race ./... |
