Skip to content

Instantly share code, notes, and snippets.

@stevenh512
Created March 29, 2012 08:51
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 stevenh512/2235152 to your computer and use it in GitHub Desktop.
Save stevenh512/2235152 to your computer and use it in GitHub Desktop.
Prepare Diaspora's Jasmine fixtures
#!/bin/sh
rm -rf tmp
mkdir tmp
echo "Migrating database"
echo "bundle exec rake db:migrate"
bundle exec rake db:migrate
echo "bundle exec rake db:test:prepare"
bundle exec rake db:test:prepare
echo "Building Jasmine fixtures"
echo "bundle exec rspec spec/controllers/jasmine_fixtures"
bundle exec rspec spec/controllers/jasmine_fixtures
echo "bundle exec rake generate_fixtures"
bundle exec rake generate_fixtures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment