-
Notifications
You must be signed in to change notification settings - Fork 29
Home
Spooner edited this page Dec 21, 2011
·
15 revisions
Just a quick plan for the API once this becomes a gem, copying off gemspec:
require 'release_packager'
ReleasePackager.target :alpha_channel do |target|
target.name = "Alpha Channel"
target.execute = "path/to/script.rb"
target.readme = "path/to_readme"
target.license = "path/to_license"
target.files = `git ls-files`.split("\n").reject{ |f| f[/^\./] }
target.add_type :osx_app
target.add_type :win32_standalone
target.add_type :win32_installer
target.add_type :win32_folder
target.add_type :source
target.add_compression :zip
target.add_compression :7z
target.add_compression :tar_bz
end