diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-08-21 01:20:14 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-08-21 01:20:14 +0200 |
commit | 8c8d4a24f0bab5d4735043a18098d8802adecee8 (patch) | |
tree | 26133ab891ae3fd373ed0326345f005cd3501d13 | |
parent | dfc79f0440e18927990fbf78248e7dff877e418f (diff) |
Add a release target
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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/ |