Run ./gulp in every subproject dir

This is necessary since in our gulp files we reference assets in
node_modules using relative paths. This makes the asset building
process much slower, and should be addressed in the future.
This commit is contained in:
2018-09-19 14:48:16 +02:00
parent 14daead15d
commit c460359b31

View File

@@ -104,11 +104,12 @@ if [ ! -e $GULP -o gulpfile.js -nt $GULP ]; then
npm install
touch $GULP # installer doesn't always touch this after a build, so we do.
fi
$GULP --cwd $DEPLOYDIR/pillar --production
$GULP --cwd $DEPLOYDIR/attract --production
$GULP --cwd $DEPLOYDIR/flamenco --production
$GULP --cwd $DEPLOYDIR/pillar-svnman --production
$GULP --cwd $DEPLOYDIR/blender-cloud --production
pushd $DEPLOYDIR/pillar; ./gulp --production; popd;
pushd $DEPLOYDIR/attract; ./gulp --production; popd;
pushd $DEPLOYDIR/flamenco; ./gulp --production; popd;
pushd $DEPLOYDIR/pillar-svnman; ./gulp --production; popd;
pushd $DEPLOYDIR/blender-cloud; ./gulp --production; popd;
echo
echo "==================================================================="