Sha256: f410b518af318c9a1e732efedcefb9b3b8f1a4c742b116d2ea84a935a74a39f3
Contents?: true
Size: 1.2 KB
Versions: 15
Compression:
Stored size: 1.2 KB
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 'solr_wrapper/rake_task' require 'fcrepo_wrapper' require 'active_fedora/rake_support' require 'engine_cart/rake_task' require 'jasmine' load 'jasmine/tasks/jasmine.rake' import "#{Gem.loaded_specs['jasmine'].full_gem_path}/lib/jasmine/tasks/jasmine.rake" # Set up the test application prior to running jasmine tasks. task 'jasmine:require' => :setup_test_server task :setup_test_server do require 'engine_cart' EngineCart.load_application! end desc 'Continuous Integration' task ci: ['engine_cart:generate'] do ENV['environment'] = "test" with_test_server do Rake::Task['spec'].invoke end end task default: :ci
Version data entries
15 entries across 15 versions & 1 rubygems