summaryrefslogtreecommitdiffstats
path: root/tasks/spec.rake
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-19 10:23:12 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-19 10:23:12 +0200
commit4b29c337347b40528d672cd2e2b52b1c9efe33e5 (patch)
tree8c4bfd0e73790754a834491c69283767d173cde6 /tasks/spec.rake
parenta378e73d9da612960d0cf3eef5011c13c0139c39 (diff)
downloadffi-efl-4b29c337347b40528d672cd2e2b52b1c9efe33e5.zip
ffi-efl-4b29c337347b40528d672cd2e2b52b1c9efe33e5.tar.gz
goto bundler
Diffstat (limited to 'tasks/spec.rake')
-rw-r--r--tasks/spec.rake44
1 files changed, 0 insertions, 44 deletions
diff --git a/tasks/spec.rake b/tasks/spec.rake
deleted file mode 100644
index 7345f5c..0000000
--- a/tasks/spec.rake
+++ /dev/null
@@ -1,44 +0,0 @@
-# -*- coding: UTF-8 -*-
-#
-#if HAVE_SPEC_RAKE_SPECTASK and not PROJ.spec.files.to_a.empty?
-require 'rspec/core/rake_task'
-#
-namespace :spec do
-
- desc 'Run all specs with basic output'
- RSpec::Core::RakeTask.new(:run) do |t,args|
- t.ruby_opts = PROJ.ruby_opts
- t.rspec_opts = PROJ.spec.opts
- t.pattern = ENV['pattern'] if ENV['pattern']
- 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.pattern = ENV['pattern'] if ENV['pattern']
- 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.pattern = ENV['pattern'] if ENV['pattern']
- end
-
- if HAVE_RCOV
- desc 'Run all specs with RCov'
- RSpec::Core::RakeTask.new(:rcov) do |t|
- t.ruby_opts = PROJ.ruby_opts
- t.rspec_opts = PROJ.spec.opts
- t.rcov = true
- t.rcov_opts = PROJ.rcov.opts + ['--exclude', 'spec']
- end
- end
-
-end # namespace :spec
-
-desc 'Alias to spec:run'
-task :spec => 'spec:run'
-
-# EOF