Sha256: 35014d254d9d09e51b931da34999f01a164740e690d7691fec83003ad88296db

Contents?: true

Size: 579 Bytes

Versions: 29

Compression:

Stored size: 579 Bytes

Contents

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

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

desc 'Test the enumerable_constants plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end

desc 'Generate documentation for the enumerable_constants plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'EnumerableConstants'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

29 entries across 29 versions & 3 rubygems

Version Path
spree-0.5.0 vendor/plugins/enumerable_constants/Rakefile
spree-0.6.0 vendor/plugins/enumerable_constants/Rakefile
spree-0.5.1 vendor/plugins/enumerable_constants/Rakefile
spree-0.7.1 vendor/plugins/enumerable_constants/Rakefile
spree-0.7.0 vendor/plugins/enumerable_constants/Rakefile
spree-0.8.0 vendor/plugins/enumerable_constants/Rakefile
spree-0.8.1 vendor/plugins/enumerable_constants/Rakefile
spree-0.8.2 vendor/plugins/enumerable_constants/Rakefile
spree-0.8.3 vendor/plugins/enumerable_constants/Rakefile