chore(distro): build bower distro using new scripts
This commit is contained in:
parent
da4f321284
commit
f1082a563f
|
@ -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) {
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue