Skip to content

Commit

Permalink
coverage report also for local builds
Browse files Browse the repository at this point in the history
  • Loading branch information
goldmann committed Jul 20, 2010
1 parent 5e9933c commit 4473e5e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -4,3 +4,4 @@ log
*.gemspec
pkg
Rakefile
coverage
13 changes: 6 additions & 7 deletions spec/Rakefile
@@ -1,18 +1,17 @@
require 'rake'
require 'spec/rake/spectask'

libdir = Dir["../platform/**/lib"] + Dir["../os/**/lib"] + Dir["../delivery/**/lib"]
libdir = Dir["../platform/**/lib"] + Dir["../os/**/lib"] + Dir["../delivery/**/lib"] + ["../../boxgrinder-build/lib", "../../boxgrinder-build/spec", "../../boxgrinder-core/lib", "../../boxgrinder-core/spec" ]

desc "Run all examples"
Spec::Rake::SpecTask.new('examples') do |t|
Spec::Rake::SpecTask.new(:default) do |t|

libdir.each do |d|
t.libs.unshift "#{d}"
end

t.libs.unshift "../../boxgrinder-build/lib"
t.libs.unshift "../../boxgrinder-core/lib"
t.libs.unshift "../../boxgrinder-core/spec"

t.spec_files = FileList['../**/spec/**/*-spec.rb']
t.spec_files = FileList['../*/*/spec/**/*-spec.rb']
t.spec_opts = [ '--format', 's']
t.rcov = true
t.rcov_opts = ['--exclude', 'spec,teamcity/*,/usr/lib/ruby/,.gem/ruby,/pkg/']
end

0 comments on commit 4473e5e

Please sign in to comment.