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

Version Path
simple-sql-0.5.37 Rakefile
simple-sql-0.5.36 Rakefile
simple-sql-0.5.35 Rakefile
simple-sql-0.5.34 Rakefile
simple-sql-0.5.33 Rakefile
simple-sql-0.5.32 Rakefile
simple-sql-0.5.31 Rakefile
simple-sql-0.5.30 Rakefile
simple-sql-0.5.29 Rakefile
simple-sql-0.5.28 Rakefile
simple-sql-0.5.27 Rakefile
simple-sql-0.5.26 Rakefile
simple-sql-0.5.25 Rakefile
simple-sql-0.5.24 Rakefile