summaryrefslogtreecommitdiffhomepage
path: root/Makefile
blob: e9106cb243d99b1d31cb2d0a54ef881069263478 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 -port $${PORT:-8080}

.PHONY: watch