18 lines
294 B
Bash
18 lines
294 B
Bash
|
#!/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
|
||
|
tar czvf dist/receptor-${VERSION}.tar.gz dist/*
|