Skip to content

Instantly share code, notes, and snippets.

@deanrad
Last active August 29, 2015 13:57
Show Gist options
  • Select an option

  • Save deanrad/9666439 to your computer and use it in GitHub Desktop.

Select an option

Save deanrad/9666439 to your computer and use it in GitHub Desktop.
A cup of morning Comment Sense
# let your comment-sense dir be PWD
set -e # abort on error
echo "Good morning. Updating projects..."
git checkout master
git pull
bundle install
rake db:migrate
RAILS_ENV=test rake db:migrate
echo "Yay all is good"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment