Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.05 KB

README.md

File metadata and controls

36 lines (25 loc) · 1.05 KB

Packager

Packager is a Ruby Gem that builds one-click installer packages of your gem for Mac OS X and Windows.

Requirements

Windows: MinGW Ruby install (such as One-Click RubyInstaller) and Inno Setup

Mac OS X: Universal binary version of Ruby (Learn More) and possibly the OS X Developer Tools

Usage

In your project's Rakefile

require 'packager/rake_task'
Packager::RakeTask.new(:pkg) do |t|
  t.package_name = "My Project"
  t.version = "1.0.0"
  t.domain = "myproject.com"
  t.bin_files = ["utility", "helper"]
  t.resource_files = ["images", "README"]
end

Known Issues

  • Requires a git repo for your project (git ls-files is used internally)
  • Limited configuration
  • No installer styling options
  • When uninstalling from Windows Ruby Uninstaller isn't run properly, though this shouldn't actually cause any problems.

Credits

  • Peter Wagenet
  • Yehuda Katz