Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (16 sloc) 602 Bytes
require 'rubygems/package_task'
require 'rspec/core/rake_task'
require 'ci/reporter/rake/rspec'
gemspec = Gem::Specification.load('vcap_stager.gemspec')
gem_package_task = {}
gem_path = File.join(gem_package_task.package_dir, gemspec.full_name)
desc "Install #{gem_path}"
task :install => [:package] do
sh "gem install --no-ri --no-rdoc #{gem_path}"
end do |t|
t.pattern = 'spec/**/*_spec.rb'
t.rspec_opts = ['--color', '--format nested']
desc "Run specs producing results for CI"
task 'ci:spec' => ['ci:setup:rspec', :spec]
Jump to Line
Something went wrong with that request. Please try again.