Sha256: 3fe26639cb0b8435398ea5e78d4bd7d58dfb1dc329d4f4f17a39a9c6207d750a

Contents?: true

Size: 828 Bytes

Versions: 60

Compression:

Stored size: 828 Bytes

Contents

#!/bin/bash

VER=1.15.pre
DBCFG=../database.yml.local
SEEDSQL=../mdummy_test.sql
cd wagn/
gem build wagn.gemspec
mv *.gem ../card/
cd ../decko-rails
gem build decko.gemspec
mv *.gem ../card/
cd ../card
gem build card.gemspec
gem install *-${VER}.gem
cd ../test_work
rbenv which wagn
echo Generate a wagn app
wagn new test_wagn_app -c --gem-path='../../'
cd test_wagn_app
# load seed db (customize to your database.yml)
echo "Load seed db (enter the pw)"
mysql -u decko_user -p mdummy_test < ${SEEDSQL}
# copy db config (populate .local with you user/pw)
cp ${DBCFG} config/database.yml
echo "migrating"
#RAILS_ENV=test bundle exec rake db:migrate --trace
RAILS_ENV=test bundle exec rake wagn:migrate --trace
#RAILS_ENV=development bundle exec rake db:migrate --trace
#RAILS_ENV=development bundle exec rake wagn:migrate --trace

Version data entries

60 entries across 60 versions & 2 rubygems

Version Path
wagn-1.21.1 test/script/run_mig.sh
decko-0.3.3 test/script/run_mig.sh
decko-0.3.2 test/script/run_mig.sh
decko-0.3.1 test/script/run_mig.sh
decko-0.3.0 test/script/run_mig.sh
decko-0.2.2 test/script/run_mig.sh
decko-0.2.1 test/script/run_mig.sh
decko-0.2 test/script/run_mig.sh
decko-0.1 test/script/run_mig.sh
wagn-1.21.0 test/script/run_mig.sh
wagn-1.20.4 test/script/run_mig.sh
wagn-1.20.3 test/script/run_mig.sh
wagn-1.20.2 test/script/run_mig.sh
wagn-1.20.1 test/script/run_mig.sh
wagn-1.20.0 test/script/run_mig.sh
wagn-1.19.6 test/script/run_mig.sh
wagn-1.19.5 test/script/run_mig.sh
wagn-1.19.4 test/script/run_mig.sh
wagn-1.19.3 test/script/run_mig.sh
wagn-1.19.2 test/script/run_mig.sh