add bundler script
Signed-off-by: ari melody <ari@arimelody.me>
This commit is contained in:
parent
bb92ba114c
commit
3300db8d64
9
bundle.sh
Executable file
9
bundle.sh
Executable file
|
@ -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/
|
Loading…
Reference in a new issue