Sha256: 078d9a5b3fdb5c9d604e0798e3977725625034b43595ad9c5b0dd32e63b9c0ad

Contents?: true

Size: 362 Bytes

Versions: 7

Compression:

Stored size: 362 Bytes

Contents

require "rubygems"
require "yaml"

namespace :gem 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

7 entries across 7 versions & 1 rubygems

Version Path
trustygems-0.0.7 lib/tasks/gem.rake
trustygems-0.0.6 lib/tasks/gem.rake
trustygems-0.0.5 lib/tasks/gem.rake
trustygems-0.0.4 lib/tasks/gem.rake
trustygems-0.0.3 lib/tasks/gem.rake
trustygems-0.0.2 lib/tasks/gem.rake
trustygems-0.0.1 lib/tasks/gem.rake