summaryrefslogtreecommitdiffhomepage
path: root/Makefile
blob: 85ba3d99977cbd48c8360a753be3453c8728a857 (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 ./template
	go build

all-i18n:
	TEMPL_EXPERIMENT=rawgo go generate ./template ./lib
	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