blob: f6ab10f2457bfd92d06c81c0ed7bb041f7f0683d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# 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}
# Build a release tarball for easy deployment
release: all-i18n
[ -n "$$GOOS" -a -n "$$GOARCH" ]
tar -cf euro-cash.eu-$$GOOS-$$GOARCH.tar.gz euro-cash.eu data/ static/
|