aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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