Sha256: 1eda2f00db4e1770cd6d6df2ea591690f14f4c9266ba5f0ad8a80e26c52fcb0d
Contents?: true
Size: 735 Bytes
Versions: 25
Compression:
Stored size: 735 Bytes
Contents
require 'English' begin require 'bundler/setup' rescue LoadError puts 'You must `gem install bundler` and `bundle install` to run rake tasks' end APP_RAKEFILE = File.expand_path('../test/dummy/Rakefile', __FILE__) load 'rails/tasks/engine.rake' load 'rails/tasks/statistics.rake' Bundler::GemHelper.install_tasks 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 begin require 'yard' YARD::Rake::YardocTask.new do |t| t.files = ['lib/**/*.rb', 'app/**/*.rb', 'config/**/*.rb'] t.options = ['--output-dir=./docs'] end rescue LoadError puts 'yard not present, disabling Rake task' end
Version data entries
25 entries across 25 versions & 1 rubygems