diff options
author | Jérémy Zurcher <jeremy.zurcher@heraeus.com> | 2011-04-13 16:59:44 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy.zurcher@heraeus.com> | 2011-04-13 16:59:44 +0200 |
commit | 11725c389157c789edac1572a86c5542909900c4 (patch) | |
tree | 3e5e9fb84ef87eac644d39c5a738ab61f4a164c1 /tasks/spec.rake | |
parent | 562a95b48f780c8f95b252efd2a853c83f603467 (diff) | |
download | ffi-efl-11725c389157c789edac1572a86c5542909900c4.zip ffi-efl-11725c389157c789edac1572a86c5542909900c4.tar.gz |
clean spec rake task
Diffstat (limited to 'tasks/spec.rake')
-rw-r--r-- | tasks/spec.rake | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tasks/spec.rake b/tasks/spec.rake index 6652bbf..48df989 100644 --- a/tasks/spec.rake +++ b/tasks/spec.rake @@ -9,21 +9,18 @@ namespace :spec do RSpec::Core::RakeTask.new(:run) do |t| t.ruby_opts = PROJ.ruby_opts t.rspec_opts = PROJ.spec.opts -# t.libs += PROJ.libs end desc 'Run all specs with text output' RSpec::Core::RakeTask.new(:doc) do |t| t.ruby_opts = PROJ.ruby_opts t.rspec_opts = PROJ.spec.opts + ['-fs' ] -# t.libs += PROJ.libs end desc 'Run all specs with html output' RSpec::Core::RakeTask.new(:html) do |t| t.ruby_opts = PROJ.ruby_opts t.rspec_opts = PROJ.spec.opts + ['-fh' ] -# t.libs += PROJ.libs end if HAVE_RCOV @@ -31,20 +28,9 @@ namespace :spec do RSpec::Core::RakeTask.new(:rcov) do |t| t.ruby_opts = PROJ.ruby_opts t.rspec_opts = PROJ.spec.opts -# t.libs += PROJ.libs t.rcov = true -# t.rcov_path = PROJ.rcov.dir t.rcov_opts = PROJ.rcov.opts + ['--exclude', 'spec'] end - -# RCov::VerifyTask.new(:verify) do |t| -# t.threshold = PROJ.rcov.threshold -# t.index_html = File.join(PROJ.rcov.dir, 'index.html') -# t.require_exact_threshold = PROJ.rcov.threshold_exact -# end - -# task :verify => :rcov -# remove_desc_for_task %w(spec:clobber_rcov) end end # namespace :spec @@ -52,8 +38,4 @@ end # namespace :spec desc 'Alias to spec:run' task :spec => 'spec:run' -#task :clobber => 'spec:clobber_rcov' if HAVE_RCOV - -#end # if HAVE_SPEC_RAKE_SPECTASK - # EOF |