Sha256: 131cf4b26ae489951738e7ebb43cf0a6f5d761fdfbc0d84cc97644a15260a9a7
Contents?: true
Size: 623 Bytes
Versions: 1
Compression:
Stored size: 623 Bytes
Contents
require 'rake/gempackagetask' require 'rake/rdoctask' task :default => :rubydoctest task :all => [:doc, :package] Rake::RDocTask.new(:doc) do |t| t.rdoc_dir = 'doc' t.rdoc_files.include('README', 'lib/**/*.rb') t.options = [ '--all', '--charset', 'utf8', '--inline-source', '--main', 'README', '--title', 'Design by Contract for Ruby' ] end Rake::GemPackageTask.new(eval(File.read('rdbc.gemspec'))) do |pkg| end task :rubydoctest do files = Dir['lib/**/*.rb','examples/**/*.rb'].join(' ') sh "RUBYLIB=examples:lib:$RUBYLIB rubydoctest #{files}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
armin-joellenbeck-rdbc-0.0.6 | Rakefile |