From 975158b1a2c6a1fbd79b93c6ee1aae127b8672c1 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sat, 24 Jan 2026 16:15:35 +0100 Subject: initial commit --- Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3fe84b0 --- /dev/null +++ b/Makefile @@ -0,0 +1,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 -- cgit v1.2.3