From e0b436291369f28b8541a137268777eaf74c37aa Mon Sep 17 00:00:00 2001 From: ari melody Date: Mon, 18 Nov 2024 05:06:01 +0000 Subject: [PATCH] add bundler script --- bundle.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 bundle.sh diff --git a/bundle.sh b/bundle.sh new file mode 100755 index 0000000..4e7068b --- /dev/null +++ b/bundle.sh @@ -0,0 +1,9 @@ +#!/bin/bash +# simple script to pack up arimelody.me for production distribution + +if [ ! -f arimelody-web ]; then + echo "[FATAL] ./arimelody-web not found! please run \`go build -o arimelody-web\` first." + exit 1 +fi + +tar czvf arimelody-web.tar.gz arimelody-web admin/components/ admin/views/ admin/static/ views/ public/