diff options
author | Alex <a.scerba02@gmail.com> | 2024-01-01 02:14:11 -0500 |
---|---|---|
committer | Alex Scerba <alex@scerba.org> | 2024-10-29 13:20:00 -0400 |
commit | 6dd5833445add3dec9141b38d90ad197b813c5dc (patch) | |
tree | 5bf61b4afa04581f239cf4e9b61b8037556de8a5 | |
parent | 8265bce6e02befa39b799ee9cdf428bc822ed51f (diff) |
Add Makefile
-rw-r--r-- | Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
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 |