summaryrefslogtreecommitdiffhomepage
path: root/Makefile
blob: 889361125d861cbf62d96061d4696a8cc8bf0dbf (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 -no-email -port $${PORT:-8080}

.PHONY: watch