aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlex <a.scerba02@gmail.com>2024-01-01 02:14:11 -0500
committerAlex Scerba <alex@scerba.org>2024-10-29 13:20:00 -0400
commit6dd5833445add3dec9141b38d90ad197b813c5dc (patch)
tree5bf61b4afa04581f239cf4e9b61b8037556de8a5 /Makefile
parent8265bce6e02befa39b799ee9cdf428bc822ed51f (diff)
Add Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
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