Created
November 29, 2012 17:23
-
-
Save jamesgecko/4170554 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function gpt | |
| set before_gems (md5 Gemfile) | |
| set before_migrations (ls -l ./db/migrate | wc -l) | |
| git pull tapjoy master | |
| set after_gems (md5 Gemfile) | |
| set after_migrations (ls -l ./db/migrate | wc -l) | |
| if [ $before_gems != $after_gems ] | |
| bundle install | |
| end | |
| if [ $before_migrations != $after_migrations ] | |
| rake db:migrate | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment