From 668a2b64d04d98dbdedb14a4b8ce11ff27b2679d Mon Sep 17 00:00:00 2001 From: "Pablo M. Bermudo Garay" Date: Thu, 10 Feb 2022 12:50:10 +0100 Subject: Add Makefile and expand README --- Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 ./... -- cgit v1.2.3-70-g09d2