Sha256: d1cfc9803e49cb3481db23b84770a53f123ddaf43539622a8a61585c8f18366d
Contents?: true
Size: 498 Bytes
Versions: 12
Compression:
Stored size: 498 Bytes
Contents
task :gemspec => [:manifest, :changelog] do gemspec_file = "#{GEMSPEC.name}.gemspec" File.open(gemspec_file, 'w+'){|gs| gs.puts(GEMSPEC.to_ruby) } end desc "package and install from gemspec" task :install => [:gemspec] do sh "gem build #{GEMSPEC.name}.gemspec" sh "gem install #{GEMSPEC.name}-#{GEMSPEC.version}.gem" end desc "uninstall the gem" task :uninstall => [:clean] do sh %{gem uninstall -x #{GEMSPEC.name}} end Gem::PackageTask.new(GEMSPEC) do |pkg| pkg.need_tar = true end
Version data entries
12 entries across 12 versions & 4 rubygems