Sha256: a08145ca4a804de591d5afa5e8825baadf49bf410dcf8af2659f95ad1365cc9e

Contents?: true

Size: 775 Bytes

Versions: 29

Compression:

Stored size: 775 Bytes

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

# Test::Unit::UI::VERBOSE

Rake::TestTask.new do |t|
  t.libs << 'lib'
  t.pattern = 'test/{unit,functional,other}/**/*_test.rb'
  t.verbose = false
end

Rake::RDocTask.new { |rdoc|
  rdoc.rdoc_dir = 'doc'
  rdoc.title    = "Shoulda -- Making tests easy on the fingers and eyes"
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.template = "#{ENV['template']}.rb" if ENV['template']
  rdoc.rdoc_files.include('README', 'lib/**/*.rb')
}

desc 'Update documentation on website'
task :sync_docs => 'rdoc' do
  `rsync -ave ssh doc/ dev@dev.thoughtbot.com:/home/dev/www/dev.thoughtbot.com/shoulda`
end

desc 'Default: run tests.'
task :default => ['test']

Dir['tasks/*.rake'].each do |f|
  load f
end

Version data entries

29 entries across 29 versions & 7 rubygems

Version Path
akitaonrails-resource_controller-0.5.2 test/vendor/plugins/shoulda/Rakefile
akitaonrails-resource_controller-0.5.3 test/vendor/plugins/shoulda/Rakefile
giraffesoft-resource_controller-0.4.10 test/vendor/plugins/shoulda/Rakefile
giraffesoft-resource_controller-0.4.12 test/vendor/plugins/shoulda/Rakefile
giraffesoft-resource_controller-0.4.9 test/vendor/plugins/shoulda/Rakefile
giraffesoft-resource_controller-0.5.2 test/vendor/plugins/shoulda/Rakefile
giraffesoft-resource_controller-0.5.3 test/vendor/plugins/shoulda/Rakefile
korin-resource_controller-0.5.3 test/vendor/plugins/shoulda/Rakefile
nileshtrivedi-lp_resource_builder-0.5.1 test/vendor/plugins/shoulda/Rakefile
nileshtrivedi-lp_resource_builder-0.5.3 test/vendor/plugins/shoulda/Rakefile
nileshtrivedi-safe_resource-0.5.3 test/vendor/plugins/shoulda/Rakefile
spree-0.8.4 vendor/plugins/resource_controller/test/vendor/plugins/shoulda/Rakefile
spree-0.8.5 vendor/plugins/resource_controller/test/vendor/plugins/shoulda/Rakefile
resource_controller-0.4.9 test/vendor/plugins/shoulda/Rakefile
resource_controller-0.5.2 test/vendor/plugins/shoulda/Rakefile
resource_controller-0.5.0 test/vendor/plugins/shoulda/Rakefile
resource_controller-0.5.1 test/vendor/plugins/shoulda/Rakefile
resource_controller-0.5.3 test/vendor/plugins/shoulda/Rakefile
spree-0.4.1 vendor/plugins/resource_controller/test/vendor/plugins/shoulda/Rakefile
spree-0.4.0 vendor/plugins/resource_controller/test/vendor/plugins/shoulda/Rakefile