Skip to content

Commit 3ec2383

Browse files
committed
Add Yarn installation to demo server
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
1 parent 23890ed commit 3ec2383

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

demo/bin/pma-demo-update

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ for REPONAME in $REPOS ; do
6969
composer update --quiet --no-dev
7070
fi
7171

72+
if [ -f package.json ] ; then
73+
yarn install --non-interactive --silent
74+
fi
75+
7276
# Link themes
7377
for THEME in $THEMES ; do
7478
if [ ! -e themes/$THEME ] ; then
@@ -98,7 +102,7 @@ fi
98102
# Delete stale directories
99103
find $BASEDIR -maxdepth 1 -mindepth 1 -type d | while read DIRNAME ; do
100104
REPO=${DIRNAME##*/}
101-
if [ $REPO = themes ] ; then
105+
if [ $REPO = themes ] ; then
102106
continue
103107
fi
104108
for TESTREPO in $REPOS ; do

0 commit comments

Comments
 (0)