Sha256: 0a291016d13317feb0d9701dc8a4f59e71f97469ceebceb38761decc4913afa1
Contents?: true
Size: 829 Bytes
Versions: 14
Compression:
Stored size: 829 Bytes
Contents
Dir.glob("tasks/*.rake").each { |r| import r } task "test:generate_fixtures" do FileUtils.mkdir_p "tmp" FileUtils.mkdir_p "spec/fixtures" Dir.chdir "tmp" do sh "curl -L -O https://raw.githubusercontent.com/comperiosearch/booktownDemo/master/booktown.sql" end sh "dropdb booktown || true" sh "psql -f tmp/booktown.sql" sh "psql booktown -c 'alter schema public rename to booktown'" sh "pg_dump --no-owner booktown > spec/fixtures/booktown.sql" end task "test:prepare_db" do sh "createdb simple-sql-test 2>&1 > /dev/null || true" end task default: "test:prepare_db" do sh "rspec" sh "rubocop -D" end desc 'release a new development gem version' task :release do sh 'scripts/release.rb' end desc 'release a new stable gem version' task 'release:stable' do sh 'BRANCH=stable scripts/release.rb' end
Version data entries
14 entries across 14 versions & 1 rubygems