Filled out the project, added Ezmlm module + spec.

This commit is contained in:
Michael Granger 2008-05-07 18:22:04 +00:00
parent 4b12c97f6b
commit 00d3974363
15 changed files with 1548 additions and 0 deletions

32
rake/packaging.rb Normal file
View file

@ -0,0 +1,32 @@
#
# Packaging Rake Tasks
#
#
require 'rake/packagetask'
require 'rake/gempackagetask'
Rake::GemPackageTask.new( GEMSPEC ) do |task|
task.gem_spec = GEMSPEC
task.need_tar = false
task.need_tar_gz = true
task.need_tar_bz2 = true
task.need_zip = true
end
### Task: install
task :install_gem => [:package] do
$stderr.puts
installer = Gem::Installer.new( %{pkg/#{PKG_FILE_NAME}.gem} )
installer.install
end
### Task: uninstall
task :uninstall_gem => [:clean] do
uninstaller = Gem::Uninstaller.new( PKG_FILE_NAME )
uninstaller.uninstall
end