Created
June 4, 2015 16:38
-
-
Save supertopher/5a1f7a3b7900674f7d6e to your computer and use it in GitHub Desktop.
testup.sh
This file contains 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
#!/bin/sh | |
# set -e | |
cd part-2 | |
bundle | |
bundle exec rake db:drop | |
bundle exec rake db:create | |
bundle exec rake db:migrate | |
bundle exec rake db:test:prepare | |
cd .. | |
cd part-3 | |
bundle | |
bundle exec rake db:drop | |
bundle exec rake db:create | |
bundle exec rake db:migrate | |
bundle exec rake db:test:prepare | |
cd .. | |
echo "-----------------------------------------------------" | |
echo "--------------START PART 2---------------------------" | |
cd part-2 | |
bundle exec rspec | |
cd .. | |
echo "-----------------------------------------------------" | |
echo "--------------START PART 3---------------------------" | |
cd part-3 | |
bundle exec rspec | |
cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
to install this to /usr/bin/local download it and run