Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: r0.2.3
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (23 sloc) 0.62 kb
require "rubygems"
require "rubygems/package_task"
require "rdoc/task"
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new
task :default => :spec
# This task actually builds the gem.
task :gem => :spec
spec = eval(File.read('ndo.gemspec'))
desc "Generate the gem package."
Gem::PackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end
# Generate documentation
RDoc::Task.new do |rd|
rd.main = "README"
rd.rdoc_files.include("README", "lib/**/*.rb")
rd.rdoc_dir = "rdoc"
end
desc 'Clear out RDoc and generated packages'
task :clean => [:clobber_rdoc, :clobber_package] do
rm "#{spec.name}.gemspec"
end
Jump to Line
Something went wrong with that request. Please try again.