aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-09 05:59:20 -0400
committerhistoria <[not public]>2026-06-09 05:59:20 -0400
commit9eb5ab1818b6b19501fd7209db1987c9e06cc919 (patch)
tree76e046b0bf611dfe939a8c8f6507467de2e9e20f /Makefile
downloadthehouseoficarus-9eb5ab1818b6b19501fd7209db1987c9e06cc919.tar.gz
first commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..11c8a36
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+.PHONY: build run test vet clean
+
+BINARY=tc
+DATA_DIR=$(PWD)/data
+
+build:
+ go build -o $(BINARY) ./cmd/mud
+
+run: build
+ DATA_DIR=$(DATA_DIR) ./$(BINARY)
+
+test:
+ DATA_DIR=$(DATA_DIR) go test ./... -timeout 60s
+
+vet:
+ go vet ./...
+
+clean:
+ rm -f $(BINARY)