2020-03-12 21:13:08 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -x
|
|
|
|
|
|
|
|
if [ ! -d $PWD/scss/srht ]; then
|
|
|
|
git submodule update --init
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -d $PWD/scss/srht/srht/scss/bootstrap ]; then
|
|
|
|
cd scss/srht
|
|
|
|
git submodule update --init
|
|
|
|
cd ../..
|
|
|
|
fi
|
|
|
|
|
|
|
|
npm install
|
|
|
|
npm run build:production
|
2020-03-13 23:24:39 +01:00
|
|
|
tar czvf dist/receptor-${VERSION}.tar.gz dist/* index.html
|