Sha256: bc767f8d7bfa3d9894416073b6cd18524d0a1143f1ec6e891d856030e9fa71ce

Contents?: true

Size: 919 Bytes

Versions: 15

Compression:

Stored size: 919 Bytes

Contents

#!/usr/bin/env rake
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    = 'HydraEditor'
  rdoc.options << '--line-numbers'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Bundler::GemHelper.install_tasks

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)

require 'jettywrapper'
Jettywrapper.hydra_jetty_version = "v8.1.1"

require 'engine_cart/rake_task'

task ci: ['engine_cart:generate', 'jetty:clean'] do
  ENV['environment'] = "test"
  jetty_params = Jettywrapper.load_config
  error = Jettywrapper.wrap(jetty_params) do
    Rake::Task['spec'].invoke
  end
end

task default: :ci

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
hydra-editor-1.2.0 Rakefile
hydra-editor-1.1.1 Rakefile
hydra-editor-1.1.0 Rakefile
hydra-editor-1.0.4 Rakefile
hydra-editor-1.0.3 Rakefile
hydra-editor-1.0.2 Rakefile
hydra-editor-1.0.1 Rakefile
hydra-editor-1.0.0 Rakefile
hydra-editor-1.0.0.rc4 Rakefile
hydra-editor-1.0.0.rc3 Rakefile
hydra-editor-1.0.0.rc2 Rakefile
hydra-editor-1.0.0.rc1 Rakefile
hydra-editor-1.0.0.beta3 Rakefile
hydra-editor-1.0.0.beta2 Rakefile
hydra-editor-1.0.0.beta1 Rakefile