Rakefile in wortsammler-1.0.3 vs Rakefile in wortsammler-2.0.0.dev1
- old
+ new
@@ -7,13 +7,13 @@
desc "Run specs"
RSpec::Core::RakeTask.new(:spec, :focus) do |t, args|
t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default.
if args[:focus] then
- usetags="--tag #{args[:focus]}"
+ usetags="-e #{args[:focus]}"
else
- usetags="--tag ~exp"
+ usetags=nil #"--tag ~exp"
end
t.rspec_opts = [usetags,
" -fd -fd --out ./testresults/wortsammler_testresults.log -fh --out ./testresults/wortsammler_testresults.html"]
# Put spec opts in a file named .rspec in root
end
@@ -32,10 +32,10 @@
sh "yard --markup markdown doc ."
end
desc "get the default stylefiles from pandoc"
task :getpandocstyles do
- [:latex, :docx, :html, :epub].each{|format |sh "pandoc -D #{format} > resources/pandocdefault.#{format}"}
+ [:latex, :docx, :html, :epub].each{|format |sh "pandoc_2.0.5 -D #{format} > resources/pandocdefault.#{format}"}
end
desc "run tests"
task :test => [:clean, :spec]