1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00
draper/Rakefile

23 lines
471 B
Text
Raw Normal View History

2011-08-10 09:01:22 -04:00
require 'rake'
2012-03-03 09:01:19 -05:00
# These tasks help build and release the gem
require 'bundler/gem_tasks'
2012-03-03 09:01:19 -05:00
require 'rspec/core/rake_task'
2012-10-19 08:29:27 -04:00
RSpec::Core::RakeTask.new
2011-07-28 00:44:10 -04:00
require 'cucumber/rake/task'
2012-10-19 08:29:27 -04:00
Cucumber::Rake::Task.new
2012-10-25 03:26:32 -04:00
namespace :db do
desc 'Prepare sqlite database'
task :migrate do
system 'cd spec/dummy && rake db:migrate RAILS_ENV=test && rake db:migrate RAILS_ENV=development'
end
end
desc "Run all tests for CI"
task "ci" => ["spec", "cucumber"]
task "default" => "ci"