Skip to content

Instantly share code, notes, and snippets.

@ian7
Created November 19, 2012 09:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ian7/4109818 to your computer and use it in GitHub Desktop.
Save ian7/4109818 to your computer and use it in GitHub Desktop.
SAW deployment script
export rootPath=`pwd`
git pull
git submodule init
git submodule update
# build jquery
cd public/javascripts/lib/jquery
npm install
grunt
cd "$rootPath"
# build jquery-tools
#cd public/javascripts/lib/jquery-tools
#ant
#cd "$rootPath"
# build jquery-ui
cd public/javascripts/lib/jquery-ui
npm install
grunt build
cd "$rootPath"
jammit
touch tmp/restart.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment