aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAKP <tom@tdpain.net>2022-04-01 19:49:58 +0100
committerAKP <tom@tdpain.net>2022-04-01 19:49:58 +0100
commite03d17ffbebebba0c5f0468addf8349c2336c437 (patch)
tree8d2a0845555f51e60af11a0a12b72b706401d092 /Makefile
parent7709fa6d8321caae2bf1c96e88baf85473946e67 (diff)
First endpoint
Signed-off-by: AKP <tom@tdpain.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..60bc03c
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+.PHONY: prebuild fmt
+
+build:
+ mkdir -p bin
+ go build -o bin/walrss github.com/codemicro/walrss/walrss
+
+run: build
+ mkdir -p run
+ cd run && ../bin/walrss
+
+fmt:
+ go fmt github.com/codemicro/walrss/...