Sha256: eda401955aeb98f247bf98c9fffeed64ddd721b9765f28a3c3e8b61115dc54be

Contents?: true

Size: 641 Bytes

Versions: 3

Compression:

Stored size: 641 Bytes

Contents

require 'rake/rdoctask'

Rake::RDocTask.new do |rd|
  rd.main = "README.rdoc"
  rd.rdoc_dir = 'doc/rdoc'
  rd.rdoc_files.include('lib/**/*.rb', 'README.rdoc')
  rd.options << '--inline-source' 
  rd.options << '--all' 
  rd.options << '--accessor=html_attr=HtmlAttribute'
  rd.options << '--accessor=generic_tag=GenericTagBrush'
  rd.options << '--accessor=generic_single_tag=GenericSingleTagBrush'
  rd.options << '--accessor=brush_tag=Brush'
end

task :test do
  sh 'mspec -I./lib -f s test/component_spec.rb'
end

task :package do
  sh 'gem build wee.gemspec' 
end

task :clean => [:clobber_rdoc]

task :default => [:test, :rdoc, :clean]

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
mullen-wee-2.2.0 Rakefile
wee-2.1.0 Rakefile
wee-2.0.0 Rakefile