Sha256: 28cc14c11ffc7aec0f1513db9220f72bec417d00292e44be2b8f957de05b71aa
Contents?: true
Size: 1.31 KB
Versions: 32
Compression:
Stored size: 1.31 KB
Contents
# encoding: UTF-8 require 'rubygems' begin require 'bundler/setup' rescue LoadError puts 'You must `gem install bundler` and `bundle install` to run rake tasks' end require 'rake' require 'rdoc/task' require 'rake/testtask' Rake::TestTask.new(:test) do |t| t.libs << 'lib' t.libs << 'test' t.pattern = 'test/**/*_test.rb' t.verbose = false end Rake::TestTask.new("test:controllers") do |t| t.libs << 'lib' t.libs << 'test' t.pattern = 'test/controllers/*_test.rb' t.verbose = false end Rake::TestTask.new("test:generators") do |t| t.libs << 'lib' t.libs << 'test' t.pattern = 'test/generators/*_test.rb' t.verbose = false end Rake::TestTask.new("test:integration") do |t| t.libs << 'lib' t.libs << 'test' t.pattern = 'test/integration/*_test.rb' t.verbose = false end Rake::TestTask.new("test:models") do |t| t.libs << 'lib' t.libs << 'test' t.pattern = 'test/models/*_test.rb' t.verbose = false end Rake::TestTask.new("test:functional") do |t| t.libs << 'lib' t.libs << 'test' t.pattern = 'test/functional/*_test.rb' t.verbose = false end task :default => :test RDoc::Task.new do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'Ckeditor' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
32 entries across 32 versions & 4 rubygems