File tree Expand file tree Collapse file tree 3 files changed +19
-4
lines changed
Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 22
33examplesRoot=" $( cd -P " $( dirname " ${BASH_SOURCE[0]} " ) /.." && pwd) " /examples
44
5- for d in * /; do
5+ for d in $examplesRoot /* /; do
6+ # Skip the template directory
7+ if [ " $( basename $d ) " = " _template" ]; then
8+ continue
9+ fi
10+
611 echo " >>> building example '$( basename $d ) '"
7- cd $examplesRoot / $ d
12+ cd $d
813 npm run build
914
1015 if [ ! $? ] ; then
Original file line number Diff line number Diff line change 22
33examplesRoot=" $( cd -P " $( dirname " ${BASH_SOURCE[0]} " ) /.." && pwd) " /examples
44
5- for d in * /; do
5+ for d in $examplesRoot /* /; do
6+ # Skip the template directory
7+ if [ " $( basename $d ) " = " _template" ]; then
8+ continue
9+ fi
10+
611 echo " >>> installing example '$( basename $d ) '"
7- cd $examplesRoot / $ d
12+ cd $d
813 npm i --silent
914done
1015
Original file line number Diff line number Diff line change 44rootDir=" $( cd -P " $( dirname " ${BASH_SOURCE[0]} " ) /.." && pwd) "
55
66for d in ` find ${rootDir} /examples -type d -depth 1` ; do
7+ # Skip the template directory
8+ if [ " $( basename $d ) " = " _template" ]; then
9+ continue
10+ fi
11+
712 echo " >>> updating example '$( basename $d ) '"
813 (
914 cd $d
You can’t perform that action at this time.
0 commit comments