Sha256: ad637eeafbb70d93a361e7d06cf9947e1f9accf554ef65c8fe85340ce18e563f

Contents?: true

Size: 656 Bytes

Versions: 2

Compression:

Stored size: 656 Bytes

Contents

class Rag < Thor

	desc "release", "release this gem to RubyGems.org"
	def release
		system "gem build #{Rc.o.project}.gemspec", :verbose
		system "gem push #{Rc.o.project}-#{Rc.o.version}.gem", :verbose
		Pa.rm "#{Rc.o.project}-#{Rc.o.version}.gem", verbose: true
	end

	desc "install", "install this gem to your system"
	def install
		system "gem build #{Rc.o.project}.gemspec", :verbose
		system "gem install #{Rc.o.project}-#{Rc.o.version}.gem", :verbose
		Pa.rm "#{Rc.o.project}-#{Rc.o.version}.gem", verbose: true
	end

	desc "build", "build this gem at current directory "
	def build
		system "gem build #{Rc.o.project}.gemspec", :verbose
	end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rag-1.0.5 lib/rag/gem.rb
rag-1.0.4 lib/rag/gem.rb