Tweak to gulp all command

First run gulp in pillar and other dependencies, then run gulp in the
current repo.
This commit is contained in:
Francesco Siddi 2019-11-13 10:43:25 +01:00
parent db74c89e6f
commit c168c09293

6
gulp
View File

@ -15,9 +15,8 @@ if [ "$1" == "watch" ]; then
# Treat "gulp watch" as "gulp && gulp watch"
$GULP
elif [ "$1" == "all" ]; then
pushd .
# This is useful when building the Blender Cloud project for the first time.
# Run "gulp" once inside the repo
$GULP
# Run ./gulp in all depending projects (pillar, attract, flamenco, pillar-svnman)
declare -a repos=("pillar" "attract" "flamenco" "pillar-svnman")
for r in "${repos[@]}"
@ -25,6 +24,9 @@ elif [ "$1" == "all" ]; then
cd ../$r
./gulp
done
popd
# Run "gulp" once inside the repo
$GULP
exit 1
fi