Sha256: 37c1ef913c37140962488404c54fe53b0cdca5caee420df78efa0d21a1f2fff8

Contents?: true

Size: 957 Bytes

Versions: 4

Compression:

Stored size: 957 Bytes

Contents

begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

begin
  require 'rdoc/task'
rescue LoadError
  require 'rdoc/rdoc'
  require 'rake/rdoctask'
  RDoc::Task = Rake::RDocTask
end

RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'ActiveMerge'
  rdoc.options << '--line-numbers'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
load 'rails/tasks/engine.rake'

Bundler::GemHelper.install_tasks

require "bundler/gem_tasks"
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec)
task :default do
  sh "bundle exec rake db:migrate RAILS_ENV=test"
  sh "mkdir spec/dummy/tmp" do |ok, res|
    nunitSuccessFlag = false
  end
  sh "mkdir spec/dummy/tmp/cache" do |ok, res|
    nunitSuccessFlag = false
  end
  sh "bundle exec rspec spec"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_merge-1.2.1 Rakefile
active_merge-1.2.0 Rakefile
active_merge-1.1.0 Rakefile
active_merge-1.0.5 Rakefile