Changeset 721 for misc/scripts
- Timestamp:
- Jul 26, 2010, 6:41:05 PM (13 years ago)
- Location:
- misc/scripts
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
misc/scripts/gscf_continuous_integration.sh
r704 r721 92 92 echo $STAMP "deploying revision "$SVN_REVISION" (version "$APP_VERSION" / Grails "$GRAILS_VERSION") and undeploying revision "$RUNNING_REVISION"..." 93 93 94 # create minified JS and CSS if required 95 MINIFIED=`ls web-app/js/*.js web-app/css/*.css|grep -vi min.|xargs -i ~/scripts/minify_if_changed.sh {} 1|wc -l` 96 if [ $MINIFIED -gt 0 ]; then 97 echo $STAMP "one or more JS / CSS files were minified, committing changes..." 98 $SVN commit -m "Automated continuous integration commit of minified JS/CSS" web-app/css/*.min.css web-app/js/*.min.js > /dev/null 99 SVN_REVISION=`$SVN update | sed -n 's/At revision \(.*\)\./\1/p'` 100 echo $STAMP "updated SVN revision to "$SVN_REVISION 101 fi 102 94 103 # see if this grails version is available 95 104 if [ ! -d "/home/tomcat/grails-"$GRAILS_VERSION ]
Note: See TracChangeset
for help on using the changeset viewer.