This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
mg /
| name | age | message | |
|---|---|---|---|
| |
README.mkd | ||
| |
Rakefile | ||
| |
lib/ | ||
| |
mg.gemspec | ||
| |
test/ |
README.mkd
mg
A a minimalist way to create gems and publish them to Rubyforge using Rake.
Usage
In your Rakefile:
begin
require "mg"
MG.new("foo.gemspec")
rescue
def abort_without_mg; abort "To use this task: gem install sr-mg";end
task :install do; abort_without_mg; end
task :package do; abort_without_mg; end
task :rubyforge do; abort_without_mg; end
namespace :rubyforge do
task :gem do; abort_without_mg; end
task :git do; abort_without_mg; end
end
end
The following tasks are now available:
rake install
Build and install as local gem
rake package
Build gem tarball into dist/
rake rubyforge
Publish the current release on Rubyforge
rake rubyforge:gem
Publish gem and tarball to rubyforge
rake rubyforge:git
Push to gitosis@rubyforge.org:foo.git
Licence
Written by Ryan Tomayko, extracted by Simon Rozet.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2009 Ryan Tomayko and Simon Rozet
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.








