technicalpickles / mg forked from sr/mg
- Source
- Commits
- Network (2)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
05e8a27
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.

