aboutsummaryrefslogtreecommitdiff
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-07-28 18:17:04 +0200
commit43d133804a50ba074df742fbf93878a4c9e82730 (patch)
treee1ecd1937a49c3e0afdae9dd3c9caaebda017214
parent16b8302bf1f68690ef9fa2ea791c49fd91aeb855 (diff)
downloadmuhqs-game-43d133804a50ba074df742fbf93878a4c9e82730.tar.gz
muhqs-game-43d133804a50ba074df742fbf93878a4c9e82730.zip
allow to override GOFMT in 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)