File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 7878 "dna-dom" : " ~3.3" ,
7979 "hamburger-menu" : " ~0.7" ,
8080 "jshint" : " ~2.13" ,
81- "less" : " ~4.5 " ,
81+ "less" : " ~4.6 " ,
8282 "mocha" : " ~11.7" ,
8383 "replacer-util" : " ~1.6" ,
8484 "rev-web-assets" : " ~1.5" ,
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ setupTools() {
2222 echo $banner
2323 echo $( echo $banner | sed s/./=/g)
2424 pwd
25- test -d .git || { echo " Project must be in a git repository." ; exit ; }
26- git restore dist/ * & > /dev/null
25+ [ -d .git ] || { echo " Project must be in a git repository." ; exit ; }
26+ [ -d dist ] && git restore dist
2727 git pull --ff-only
2828 echo
2929 echo " Node.js:"
@@ -59,9 +59,9 @@ publishWebFiles() {
5959 cp -R website-target/3-prod/* $publishFolder
6060 cp $publishSite /files/resources/404-source.html $publishFolder /404.html
6161 ls -p $publishFolder | grep --invert-match /
62- test -x " $( which tree) " && tree $publishFolder
62+ [ -x " $( which tree) " ] && tree $publishFolder
6363 }
64- test -w $publishSite && publish
64+ [ -w $publishSite ] && publish
6565 }
6666
6767interactiveServer () {
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ setupPmd() {
3737 ls -o
3838 rm $pmdZipFile
3939 }
40- test -d $pmdFolder || downloadPmd
40+ [ -d $pmdFolder ] || downloadPmd
4141 echo
4242 }
4343
You can’t perform that action at this time.
0 commit comments