# 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 # TODO: Minify CSS release: all-i18n [ -n "$$GOOS" -a -n "$$GOARCH" ] tar -cf euro-cash.eu-$$GOOS-$$GOARCH.tar.gz euro-cash.eu data/ static/