From 6dd5833445add3dec9141b38d90ad197b813c5dc Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 1 Jan 2024 02:14:11 -0500 Subject: Add Makefile --- Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..410f1b0 --- /dev/null +++ b/Makefile @@ -0,0 +1,27 @@ +.DEFAULT_GOAL := run + +bins := ./website + +fmt: + go fmt . +.PHONY:fmt + +lint: fmt + golint . +.PHONY:lint + +vet: lint + go vet . +.PHONY:vet + +run: vet + go run . +.PHONY:run + +build: + go build . +.PHONY:build + +clean: + rm -fv $(bins) +.PHONY:clean -- cgit v1.2.3