aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 872bccc1a8e1268e3c7a3ab378e845137c0c927e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.PHONY: build run test vet clean

BINARY=thoi
DATA_DIR=$(PWD)/data

build:
	go build -o $(BINARY) ./cmd/thoi

run: build
	DATA_DIR=$(DATA_DIR) ./$(BINARY)

test:
	DATA_DIR=$(DATA_DIR) go test ./... -timeout 60s

vet:
	go vet ./...

clean:
	rm -f $(BINARY)