Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
script for preparing the execution of the build pipeline of zendone
# Deletes trash files
rm -f tmp/*.oauth
rm -f log/*.log
rm -f db/schema.rb
rm -f tmp/evernote_session_data
rm -f rerun.txt
rm -f cucumber-*.txt
rm -rf public/assets/
cp config/database.yml.sample config/database.yml
# Check that jammit works properly (early detection of JS compression problems)
jammit -f
if [ $OUT -eq 1 ];then
exit 1
# bundle install
bundle install
#Prepare database
rake db:migrate:reset
rake db:seed
rake db:migrate:reset RAILS_ENV=test
rake parallel:prepare[$HUDSON_JOBS]
rake admin:heroku:prepare:local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.