Skip to content

Commit

Permalink
Removed verify task to make CI happy. Will manually verify instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
sporkmonger committed Jun 1, 2009
1 parent c6eb6c0 commit 7dc2024
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 23 deletions.
6 changes: 1 addition & 5 deletions Rakefile
Expand Up @@ -38,11 +38,7 @@ PKG_FILES = FileList[
].exclude(/database\.yml/).exclude(/[_\.]git$/)

RCOV_ENABLED = (RUBY_PLATFORM != "java" && RUBY_VERSION =~ /^1\.8/)
if RCOV_ENABLED
task :default => "spec:verify"
else
task :default => "spec"
end
task :default => "spec"

WINDOWS = (RUBY_PLATFORM =~ /mswin|win32|mingw|bccwin|cygwin/) rescue false
SUDO = WINDOWS ? '' : ('sudo' unless ENV['SUDOLESS'])
Expand Down
20 changes: 2 additions & 18 deletions tasks/spec.rake
@@ -1,5 +1,3 @@
require 'spec/rake/verify_rcov'

namespace :spec do
Spec::Rake::SpecTask.new(:rcov) do |t|
t.spec_files = FileList['spec/**/*_spec.rb']
Expand All @@ -23,15 +21,6 @@ namespace :spec do
t.rcov = false
end

if RCOV_ENABLED
RCov::VerifyTask.new(:verify) do |t|
t.threshold = 100.0
t.index_html = 'coverage/index.html'
end

task :verify => :rcov
end

desc "Generate HTML Specdocs for all specs"
Spec::Rake::SpecTask.new(:specdoc) do |t|
specdoc_path = File.expand_path(
Expand All @@ -53,12 +42,7 @@ namespace :spec do
end
end

if RCOV_ENABLED
desc "Alias to spec:verify"
task "spec" => "spec:verify"
else
desc "Alias to spec:normal"
task "spec" => "spec:normal"
end
desc "Alias to spec:normal"
task "spec" => "spec:normal"

task "clobber" => ["spec:clobber_rcov"]

0 comments on commit 7dc2024

Please sign in to comment.