Sha256: db6f4b143c4c791f5ae6b1ed3ec11aea8739b3f8444dd84104e580eca730b835

Contents?: true

Size: 587 Bytes

Versions: 3

Compression:

Stored size: 587 Bytes

Contents

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

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spatten-bookkeeper-0.2.0 lib/immutable-attribute-plugin/Rakefile
spatten-bookkeeper-0.2.1 lib/immutable-attribute-plugin/Rakefile
spatten-bookkeeper-0.2.2 lib/immutable-attribute-plugin/Rakefile