projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efb3938
)
RSpec create the /specdoc folder if needed.
author
Simone Carletti <weppos@weppos.net>
Thu, 14 Jun 2012 09:35:46 +0000
(11:35 +0200)
committer
Simone Carletti <weppos@weppos.net>
Thu, 14 Jun 2012 09:35:46 +0000
(11:35 +0200)
In this way, we don't get this folder for free every time rake evaluates the tasks.
tasks/spec.rake
patch
|
blob
|
history
diff --git
a/tasks/spec.rake
b/tasks/spec.rake
index 021b3eb747535a528ba909c593e46b7acf97722c..905935aa57633c9239ae582ad2fc330c21282858 100644
(file)
--- a/
tasks/spec.rake
+++ b/
tasks/spec.rake
@@
-9,7
+9,6
@@
namespace :spec do
desc 'Generate HTML Specdocs for all specs.'
RSpec::Core::RakeTask.new(:specdoc) do |t|
specdoc_path = File.expand_path('../../specdoc', __FILE__)
- Dir.mkdir(specdoc_path) if !File.exist?(specdoc_path)
t.rspec_opts = %W( --format html --out #{File.join(specdoc_path, 'index.html')} )
t.fail_on_error = false