Skip to content

Commit

Permalink
Prepared for continuous integration (had to add a faux dependency on …
Browse files Browse the repository at this point in the history
…StringRay for now)
  • Loading branch information
ELLIOTTCABLE committed Sep 21, 2008
1 parent 9d0efeb commit e3d190a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Rakefile.rb
Expand Up @@ -6,6 +6,7 @@
require 'rake/rdoctask'
require 'spec/rake/spectask'
require 'spec/rake/verify_rcov'
require 'stringray/core_ext/spec/rake/verify_rcov'
require 'lib/spec/rake/verify_spec_ratio'
require 'fileutils'
require 'merb-core'
Expand Down Expand Up @@ -50,7 +51,8 @@
end

RCov::VerifyTask.new(:verify) do |t|
t.threshold = 100
t.threshold = 97.5
t.require_exact_threshold = false
t.index_html = :meta / :coverage / 'index.html'
end

Expand Down Expand Up @@ -100,7 +102,7 @@
:'ditz:stage', :'ditz:html', :'ditz:todo', :'ditz:status', :'ditz:html:open']

# desc 'Task run during continuous integration'
task :cruise => [:check_config, :'rcov:plain', :'ditz:html', :'rcov:verify', :'rcov:ratio']
task :ci => [:check_config, :'rcov:plain', :'ditz:html', :'rcov:verify', :'rcov:ratio']

# Tasks for systems
Dir[Merb.root / "systems" / "*"].each do |system|
Expand Down

0 comments on commit e3d190a

Please sign in to comment.