technicalpickles / mg forked from sr/mg
- Source
- Commits
- Network (2)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
0b37313
commit 0b37313f573ff3a1a5318ee9c5366074686819e1
tree bbebbf73c9884406bffceb8e40bca562b9c2b626
parent bece7d52de8665d8c56f67f12746bb42210ff55f
tree bbebbf73c9884406bffceb8e40bca562b9c2b626
parent bece7d52de8665d8c56f67f12746bb42210ff55f
mg /
| name | age | message | |
|---|---|---|---|
| |
README.mkd | ||
| |
Rakefile | Sun Mar 15 17:24:50 -0700 2009 | |
| |
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.

