receptor/build.sh

18 lines
305 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/* index.html