Sha256: 419138addeb2fc2d3982b7287d079c20906ba7a795917e0f42841e423dd608fa

Contents?: true

Size: 1.57 KB

Versions: 1

Compression:

Stored size: 1.57 KB

Contents

require "rake/rdoctask"
require "rake/testtask"
require "rake/gempackagetask"

require "rubygems"

task :default => [:test]

Rake::TestTask.new do |test|
	test.libs << "test"
	test.test_files = [ "test/ts_all.rb" ]
	test.verbose = true
end

Rake::RDocTask.new do |rdoc|
	rdoc.main = "README"
	rdoc.rdoc_files.include( "README", "INSTALL",
	                         "TODO", "CHANGELOG",
	                         "LICENSE", "lib/" )
	rdoc.rdoc_dir = "doc/html"
	rdoc.title = "HighLine Documentation"
end

spec = Gem::Specification.new do |spec|
	spec.name = "highline"
	spec.version = "0.2.0"
	spec.platform = Gem::Platform::RUBY
	spec.summary = "HighLine is a high-level line oriented console interface."
	spec.files = Dir.glob("{examples,lib,test}/**/*.rb").
	                 delete_if { |item| item.include?("CVS") } + ["Rakefile"]
	spec.test_suite_file = "test/ts_all.rb"
	spec.has_rdoc = true
	spec.extra_rdoc_files = %w{README INSTALL TODO CHANGELOG LICENSE}
	spec.rdoc_options << '--title' << 'HighLine Documentation' <<
	                     '--main'  << 'README'
	spec.require_path = 'lib'
	spec.autorequire = "highline"
	spec.author = "James Edward Gray II"
	spec.email = "james@grayproductions.net"
	spec.rubyforge_project = "highline"
	spec.homepage = "http://highline.rubyforge.org"
	spec.description = <<END_DESC
A "high-level line oriented" input/output library that grew out of my solution
to Ruby Quiz #29. This library attempts to make standard console input and
output robust and painless.
END_DESC
end

Rake::GemPackageTask.new(spec) do |pkg|
	pkg.need_zip = true
	pkg.need_tar = true
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
highline-0.2.0 Rakefile