Sha256: efacf60f21db7141e9482ab9fa97adc029bf047fba095249bbba515847a7e719

Contents?: true

Size: 557 Bytes

Versions: 11

Compression:

Stored size: 557 Bytes

Contents

desc "Run Continuous Integration Suite (tests, coverage, docs)" 
task :ci do 
  Rake::Task["hydra:jetty:config"].invoke

  require 'jettywrapper'
  jetty_params = Jettywrapper.load_config.merge({
    :jetty_home => File.expand_path(File.dirname(__FILE__) + '/../../jetty'),
    :jetty_port => 8983,
    :startup_wait => 25
  })
  
  Jettywrapper.wrap(jetty_params) do
    Rails.env = "test"
    Rake::Task['rspec'].invoke
  end
end

desc "Run all specs"
RSpec::Core::RakeTask.new(:rspec) do |spec|
  spec.rspec_opts = ["-c", "-r ./spec/spec_helper.rb"]
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
hydra-tutorial-0.2.1 templates/ci.rake
hydra-tutorial-0.2.0 templates/ci.rake
hydra-tutorial-0.1.3 or_templates/add_tests/ci.rake
hydra-tutorial-0.1.2 or_templates/add_tests/ci.rake
hydra-tutorial-0.1.0 or_templates/add_tests/ci.rake
hydra-tutorial-0.0.9 or_templates/add_tests/ci.rake
hydra-tutorial-0.0.8 or_templates/add_tests/ci.rake
hydra-tutorial-0.0.7 or_templates/add_tests/ci.rake
hydra-tutorial-0.0.6 or_templates/add_tests/ci.rake
hydra-tutorial-0.0.5 or_templates/add_tests/ci.rake
hydra-tutorial-0.0.4 or_templates/add_tests/ci.rake