Sha256: 593aca4b4c7f6bae4ec73f5a1860a84d19d2bf51ceec1a1fdc46ab3035b972a3
Contents?: true
Size: 521 Bytes
Versions: 2
Compression:
Stored size: 521 Bytes
Contents
# frozen_string_literal: true task gemspec: %i[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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pgpass-2023.01.01 | tasks/gem.rake |
pgpass-2022.07.27 | tasks/gem.rake |