Sha256: f789dea8f51bf26d3078fe4572d9157e5531e450c9fa33852a0b629d6079f53d

Contents?: true

Size: 820 Bytes

Versions: 18

Compression:

Stored size: 820 Bytes

Contents

require 'bundler/gem_helper'
module Bundler
  class GemHelper
    def install
      desc "Build #{name}-#{version}.gem into the pkg directory"
      task 'build' do
        build_gem
      end

      desc "Build and install #{name}-#{version}.gem into system gems"
      task 'install' do
        install_gem
      end

      GemHelper.instance = self
    end
  end
end
Bundler::GemHelper.install_tasks
require 'rspec/core/rake_task'
require 'geminabox-client'

Dir.glob('lib/tasks/**/*.rake').each { |task| load task }
Dir.glob('tasks/**/*.rake').each { |task| load task }
RSpec::Core::RakeTask.new(:spec)

task :default => [:spec, 'pact:tests']

desc "Release to REA gems host"
task :publish => :build do
  gem_file = "pkg/pact-#{Pact::VERSION}.gem"
  Geminabox::Client.new('http://rea-rubygems').upload(gem_file)
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
pact-1.0.15 Rakefile
pact-1.0.13 Rakefile
pact-1.0.12 Rakefile
pact-1.0.11 Rakefile
pact-1.0.10 Rakefile
pact-1.0.9 Rakefile
pact-1.0.8 Rakefile
pact-1.0.7 Rakefile
pact-1.0.6 Rakefile
pact-1.0.5 Rakefile
pact-1.0.4 Rakefile
pact-1.0.3 Rakefile
pact-1.0.2 Rakefile
pact-1.0.1 Rakefile
pact-1.0.0 Rakefile
pact-0.1.37 Rakefile
pact-0.1.35 Rakefile
pact-0.1.28 Rakefile