Sha256: fcc3a5af6e5fc0cea6c73c2fd65af53111e3960d86a6c9671c50a344625f6b3f
Contents?: true
Size: 849 Bytes
Versions: 13
Compression:
Stored size: 849 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' 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, :spec_with_active_support, 'pact:tests'] desc "Release to REA gems host" task :publish => :build do gem_file = "pkg/pact-#{Pact::VERSION}.gem" require 'geminabox-client' Geminabox::Client.new('http://rea-rubygems').upload(gem_file) end
Version data entries
13 entries across 13 versions & 1 rubygems