diff --git a/MAKEFILE b/MAKEFILE new file mode 100644 index 0000000..1223205 --- /dev/null +++ b/MAKEFILE @@ -0,0 +1,22 @@ +.PHONY: all +all: build + +.PHONY: build +build: + go build ./... + +.PHONY: test +test: + go test $(addsuffix /...,$(addprefix ./)) + +.PHONY: test-ci +test-ci: + go test $(addsuffix /...,$(addprefix ./)) -covermode=atomic -coverpkg=./... -coverprofile=./coverage.txt -json | tee output.txt + +.PHONY: lint +lint: + golangci-lint run $(addsuffix /...) + +.PHONY: tidy +tidy: + go mod tidy