Sha256: 2b1ac63043cb545679fe4cf02e2e78f47b8200622d63b21a2f5353f6c5c78d5c

Contents?: true

Size: 401 Bytes

Versions: 1

Compression:

Stored size: 401 Bytes

Contents

require 'pathname'
gem_name = Pathname.new(File.expand_path('..', __FILE__)).children.find{ |ch| ch.file? and ch.basename.to_s =~ /\.gemspec$/ }.basename('.gemspec').to_s

task :default do
  system "gem build #{gem_name}.gemspec"
  system "sudo gem install *.gem"
end

task :clean do
  system "sudo gem uninstall -x #{gem_name}"
  system "rm -f *.gem"
end

task :push do
  system "gem push *.gem"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
docker-utils-0.1.0 ./Rakefile