Sha256: 519db65518c78eed1ee6190660b8c2b44fbb0106fe34f9778b3bd7a5ce4c5ff9

Contents?: true

Size: 573 Bytes

Versions: 5

Compression:

Stored size: 573 Bytes

Contents

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

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

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
locomotive_cms-0.0.1.4 vendor/plugins/custom_fields/Rakefile
locomotive_cms-0.0.1.3 vendor/plugins/custom_fields/Rakefile
locomotive_cms-0.0.1.2 vendor/plugins/custom_fields/Rakefile
locomotive_cms-0.0.1.1 vendor/plugins/custom_fields/Rakefile
locomotive_cms-0.0.1 vendor/plugins/custom_fields/Rakefile