receptor/build.sh
2020-03-12 21:13:56 +01:00

18 lines
294 B
Bash
Executable File

#!/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/*