Sha256: c62485df092df013e1b2c99065535facce180fcd06da90e292273c1c90b686b8
Contents?: true
Size: 369 Bytes
Versions: 5
Compression:
Stored size: 369 Bytes
Contents
require "rubygems" require "yaml" namespace :trustygems do desc "Build and deploy the gem to the appropriate place" task :deploy do config = YAML.load_file("config/trustygems.yml") spec = Gem::Specification::load(config["gemspec"]) sh "gem build #{config["gemspec"]}" sh "#{config["deploy_command"]} #{spec.name}-#{spec.version}.gem" end end
Version data entries
5 entries across 4 versions & 2 rubygems