summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c4f6bdc..f6ab10f 100644
--- a/Makefile
+++ b/Makefile
@@ -10,3 +10,8 @@ all-i18n:
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/