chore(distro): build bower distro using new scripts

This commit is contained in:
Nico Rehwaldt 2018-01-08 09:30:02 +01:00 committed by Philipp Fromme
parent da4f321284
commit f1082a563f
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ var mkdirp = require('mkdirp').sync,
cp = require('cpx').copySync, cp = require('cpx').copySync,
del = require('del').sync; del = require('del').sync;
var dest = 'dist'; var dest = process.env.DISTRO_DIST || 'dist';
function resolve(module, sub) { function resolve(module, sub) {

View File

@ -12,7 +12,7 @@ mkdir -p "$WORKDIR"
git clone --depth=1 https://github.com/bpmn-io/bower-bpmn-js.git "$BOWER_DIR" git clone --depth=1 https://github.com/bpmn-io/bower-bpmn-js.git "$BOWER_DIR"
npm install npm install
BOWER_DIST="$BOWER_DIR/dist" npm run distro DISTRO_DIST="$BOWER_DIR/dist" npm run distro
cd "$BOWER_DIR" cd "$BOWER_DIR"