Sha256: 6749cc39a5fea95ad9da02ced387d4f932b0123749e23b2b4440f5ac32af8125

Contents?: true

Size: 700 Bytes

Versions: 15

Compression:

Stored size: 700 Bytes

Contents

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

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

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

desc 'Generate documentation for the <%= file_name %> extension.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = '<%= class_name %>'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README.markdown')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

# Load any custom rakefiles for extension
Dir[File.dirname(__FILE__) + '/tasks/*.rake'].sort.each { |f| require f }

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
kdmny-spree-0.0.1 lib/generators/extension/templates/Rakefile
spree-0.8.4 lib/generators/extension/templates/Rakefile
spree-0.8.5 lib/generators/extension/templates/Rakefile
spree-0.2.0 lib/generators/extension/templates/Rakefile
spree-0.4.0 lib/generators/extension/templates/Rakefile
spree-0.4.1 lib/generators/extension/templates/Rakefile
spree-0.5.0 lib/generators/extension/templates/Rakefile
spree-0.5.1 lib/generators/extension/templates/Rakefile
spree-0.6.0 lib/generators/extension/templates/Rakefile
spree-0.7.1 lib/generators/extension/templates/Rakefile
spree-0.7.0 lib/generators/extension/templates/Rakefile
spree-0.8.0 lib/generators/extension/templates/Rakefile
spree-0.8.1 lib/generators/extension/templates/Rakefile
spree-0.8.2 lib/generators/extension/templates/Rakefile
spree-0.8.3 lib/generators/extension/templates/Rakefile