sgem
sgem
is a simple, minimalistic way to build and publish
gems using rake.
sgem
is based on the excellent mg (written by
Ryan Tomayko, extracted by
Simon Rozet).
Usage
In your Rakefile:
require 'sgem/auto'
The following tasks are now available:
rake archive
rake gem
rake gem:install
rake gem:publish
rake package
If you do not trust sgem
to automatically determine your gemspec, you may
provide it manually:
require 'sgem'
sgem 'project.gemspec'
You may customize the output directory and archive format (as supported by
git-archive
) through either Ruby:
require 'sgem/auto'
SGem.package_dir = 'dist'
SGem.archive_format = '.zip'
...or environment variables:
$ DEST=dist ARCHIVE=.zip rake package
License
sgem
is free and unencumbered software released into the public domain.