Browse Source

add extra "refresh-dependencies" step to setup.sh script

Lari Hotari 10 years ago
parent
commit
64e58399d8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      frameworks/Groovy/grails/setup.sh

+ 2 - 1
frameworks/Groovy/grails/setup.sh

@@ -6,8 +6,9 @@ export PATH=${GRAILS_PATH}:$PATH
 export GRAILS_AGENT_CACHE_DIR=${IROOT}/.grails/.slcache
 
 cd hello
+grails -Dgrails.work.dir=${IROOT}/.grails -non-interactive -plain-output refresh-dependencies
 grails -Dgrails.work.dir=${IROOT}/.grails -non-interactive -plain-output compile
 grails -Dgrails.work.dir=${IROOT}/.grails prod -non-interactive -plain-output war
 rm -rf $RESIN_HOME/webapps/*
 cp target/hello-0.1.war $RESIN_HOME/webapps/grails.war
-$RESIN_HOME/bin/resinctl start
+$RESIN_HOME/bin/resinctl start