From 351c15d28e0444fd8a78c510a0c4d62ed433c758 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 7 Aug 2024 00:21:12 +0200 Subject: Genesis commit --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c3a9e05 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +# Generating translations is rather slow; so don’t do that by default +all: + TEMPL_EXPERIMENT=rawgo go generate ./templates + go build + +all-i18n: + TEMPL_EXPERIMENT=rawgo go generate ./templates ./i18n + find . -name out.gotext.json | mcp -b sed s/out/messages/ + go build + +watch: + ls euro-cash.eu | entr -r ./euro-cash.eu + +.PHONY: watch -- cgit v1.2.3