summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2026-01-30 18:00:19 -0700
committermo khan <mo@mokhan.ca>2026-01-30 18:00:19 -0700
commitc60b386be0078c86a2c8f7de3c85ca98dd7e357c (patch)
tree97b4b52863d25a42550c1b81abb70ec295394d7d /Makefile
parent02770e6f95b5b9b3ae33810a6d0978db6a9c10e8 (diff)
chore: add a Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..352f848
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+.PHONY: build test clean run release
+
+build:
+ go build -o gitmal .
+
+test:
+ go test ./...
+
+run: build
+ ./gitmal --theme vim --output output .
+
+clean:
+ rm -rf gitmal output
+
+release:
+ CGO_ENABLED=0 go build -o gitmal .