From 8c8d4a24f0bab5d4735043a18098d8802adecee8 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 21 Aug 2024 01:20:14 +0200 Subject: Add a release target --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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/ -- cgit v1.2.3