This Just In
This defines package, tar, zip and gem targets.
require 'rubygems'
require 'rake/packagetask'
PKG_FILES = FileList[
'install.rb', '[A-Z]*', 'bin/**/*', 'lib/**/*.rb',
'test/**/*.rb', 'doc/**/*', '*.blurb'
].exclude(/\bCVS\b|~$/)
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.summary = "Ruby based make-like utility."
s.name = 'rake'
s.version = PKG_VERSION
s.requirements << 'none'
s.require_path = 'lib'
s.autorequire = 'rake'
s.files = PKG_FILES
end
Rake::PackageTask.new { |pkg|
pkg.gem_spec = spec
}