diff options
| author | historia <[not public]> | 2026-06-09 05:59:20 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-09 05:59:20 -0400 |
| commit | 9eb5ab1818b6b19501fd7209db1987c9e06cc919 (patch) | |
| tree | 76e046b0bf611dfe939a8c8f6507467de2e9e20f /Makefile | |
| download | thehouseoficarus-9eb5ab1818b6b19501fd7209db1987c9e06cc919.tar.gz | |
first commit
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 19 |
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) |
