Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 49eb68d0e6
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (28 sloc) 0.871 kb
require "rubygems"
require "rake/rdoctask"
require 'rspec/core/rake_task'
require "rake/gempackagetask"
desc "Run all examples"
RSpec::Core::RakeTask.new
task :default => :spec
# require 'sdoc'
#
# # Generate documentation
# Rake::RDocTask.new do |rdoc|
# rdoc.title = "parslet - construction of parsers made easy"
# rdoc.options << '--line-numbers'
# rdoc.options << '--fmt' << 'shtml' # explictly set shtml generator
# rdoc.template = 'direct' # lighter template used on railsapi.com
# rdoc.main = "README"
# rdoc.rdoc_files.include("README", "lib/**/*.rb")
# rdoc.rdoc_dir = "rdoc"
# end
desc 'Clear out RDoc'
task :clean => [:clobber_package]
# This task actually builds the gem.
spec = eval(File.read('verneuil.gemspec'))
desc "Generate the gem package."
Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end
task :gem => :spec
Jump to Line
Something went wrong with that request. Please try again.