From 4aafeffd92455e070efa8b1801ef6d8b38eb1443 Mon Sep 17 00:00:00 2001 From: vyzaldysanchez Date: Wed, 15 Nov 2023 19:54:20 -0400 Subject: [PATCH] Adds MAKEFILE --- MAKEFILE | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 MAKEFILE 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