aboutsummaryrefslogtreecommitdiff
path: root/go/Makefile
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2025-07-28 18:17:04 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2025-08-20 15:57:31 +0200
commit81fb28ed4068b740e63d08b2798cb9644a86895e (patch)
tree298ce1c272b0d95f8c53e2a4fd69a11a415b2490 /go/Makefile
parent581ba31076bc84e7e4e6211b9e339554246b3834 (diff)
downloadmuhqs-game-81fb28ed4068b740e63d08b2798cb9644a86895e.tar.gz
muhqs-game-81fb28ed4068b740e63d08b2798cb9644a86895e.zip
allow to override GOFMT in Makefile
Diffstat (limited to 'go/Makefile')
-rw-r--r--go/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/Makefile b/go/Makefile
index 3b401222..20ef58e9 100644
--- a/go/Makefile
+++ b/go/Makefile
@@ -6,7 +6,7 @@ APPS := server client dummy-ui
OBJS := $(foreach app,$(APPS),$(app)/$(app))
WASM := client/client.wasm webtools/webtools.wasm dummy-ui/dummy-ui.wasm
-GOFMT := gofumpt -l -w .
+GOFMT ?= gofumpt -l -w .
.PHONY: all fmt test check $(OBJS) $(WASM)
all: $(OBJS) $(WASM)