Sha256: 37bbd12a2ff664d4a5761a181a644ae490c6531da34487d2d4e85286f1d239a7
Contents?: true
Size: 1.29 KB
Versions: 1
Compression:
Stored size: 1.29 KB
Contents
require 'rake' require 'rake/testtask' require 'rake/rdoctask' desc 'Default: run unit tests.' task :default => :test begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "koi-reference-parser" gemspec.summary = "A reference parser for the Koi language." gemspec.description = "A reference parser for the Koi language." gemspec.email = "aaron@aarongough.com" gemspec.homepage = "http://github.com/aarongough/koi-reference-parser" gemspec.authors = ["Aaron Gough"] gemspec.rdoc_options << '--line-numbers' << '--inline-source' gemspec.extra_rdoc_files = ['README.rdoc', 'MIT-LICENSE'] gemspec.add_dependency('treetop') end rescue LoadError puts "Jeweler not available. Install it with: gem install jeweler" end desc 'Test koi-reference-parser.' Rake::TestTask.new(:test) do |t| t.libs << 'lib/*.rb' t.libs << 'test' t.pattern = 'test/**/*_test.rb' t.verbose = true end desc 'Generate documentation for koi-reference-parser.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'koi-reference-parser' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') rdoc.rdoc_files.include('app/**/*.rb') end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
koi-reference-parser-0.0.1 | Rakefile |