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:
6
gulp
6
gulp
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user