Sha256: f3fda904f31b420d9a8c1b985143a88a02cdc5394144aa873670f7165b93f46f
Contents?: true
Size: 744 Bytes
Versions: 17
Compression:
Stored size: 744 Bytes
Contents
require 'rake' require 'rake/tasklib' class Juwelier # Rake tasks for putting a Juwelier gem on Gemcutter. # # Juwelier::Tasks.new needs to be used before this. # # Basic usage: # # Juwelier::RubygemsDotOrgTasks.new # # Easy enough, right? class RubygemsDotOrgTasks < ::Rake::TaskLib attr_accessor :juwelier def initialize yield self if block_given? define end def juwelier @juwelier ||= Rake.application.juwelier end def define namespace :gemcutter do desc "Release gem to Gemcutter" task :release => [:gemspec, :build] do juwelier.release_gem_to_rubygems end end task :release => 'gemcutter:release' end end end
Version data entries
17 entries across 17 versions & 1 rubygems