Sha256: d3ec7bcef9a73303e5dbebfca06aeb68f83c03c080f9635b2a6b02a5fc1a1ff2
Contents?: true
Size: 1.06 KB
Versions: 3
Compression:
Stored size: 1.06 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 = 'Testblah' rdoc.options << '--line-numbers' rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') end APP_RAKEFILE = File.expand_path("../test/rails_app/Rakefile", __FILE__) load 'rails/tasks/engine.rake' Bundler::GemHelper.install_tasks # # Bundler has an older vendored version of net/http/persistent in /vendor. # If this remains on the path, then calling require 'net/http/persistent' # will load the vendored version rather than the one on our path. # $LOAD_PATH.delete_if{ |p| p =~ %r(/lib/bundler/vendor) } require 'rake/testtask' Rake::TestTask.new(:test) do |t| t.libs << 'lib' t.libs << 'test' t.pattern = 'test/**/*_test.rb' t.verbose = false end task :default => :test
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
openshift-origin-console-1.3.4 | Rakefile |
openshift-origin-console-1.3.3 | Rakefile |
openshift-origin-console-1.3.2 | Rakefile |