aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 3fe84b0bbe85236a64f1c78aaa7e1587f26fb852 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ticket-counter: main.go index.html
	go build

ticket-counter.exe: main.go index.html
	GOOS=windows GOARCH=386 go build -o $@

.PHONY: native
native: ticket-counter

.PHONY: windows
windows: ticket-counter.exe

.PHONY: clean
clean:
	rm -f ticket-counter ticket-counter.exe

.PHONY: check
check:
	golangci-lint run

.PHONY: fmt
fmt:
	go fmt