Skip to content
Snippets Groups Projects

make the deploy a bit more verbose to ease debugging

Merged Miroslav Kratochvil requested to merge mk-fix-deploy into master
1 file
+ 13
10
Compare changes
  • Side-by-side
  • Inline
+ 13
10
@@ -33,7 +33,7 @@ nBlades=0
for d in $(find . -maxdepth 1 -type d)
do
if [[ "${d}" == *20* ]]; then
cd "${d}"
pushd "${d}"
echo "changed to ${d}"
for d1 in $(find . -maxdepth 1 -type d)
do
@@ -46,20 +46,23 @@ do
# create the required folders in public
mkdir -p $rootDir/public/$BLADE/$version
# change to the blade directory to be built
cd $BLADE
echo "going to $BLADE..."
pushd $BLADE
# run contribute
cp ../../template/Gruntfile.coffee .
ln -s ../../theme/package.json package.json
ln -s ../../theme theme
cp -v ../../template/Gruntfile.coffee .
ln -sv ../../theme/package.json package.json
ln -sv ../../theme theme
# install npm
yarn global add grunt-cli generator-reveal grunt
echo "installing deps"
yarn add grunt-cli generator-reveal grunt
yarn install
echo "running dist"
yarn exec grunt dist
cp -rL public/* $rootDir/public/$BLADE/$version/.
echo "copying to common public dir"
cp -rLv public/* $rootDir/public/$BLADE/$version/.
echo " > latest built for file set ${BLADE}"
@@ -75,10 +78,10 @@ do
echo "autoredirect file set"
# move back out
cd ..
popd
echo " > -----------------------------------------------------"
fi
done
cd "${rootDir}"
popd
fi
done
Loading