tasks/doctests.rake in rubydoctest-0.2.1 vs tasks/doctests.rake in rubydoctest-1.0.0
- old
+ new
@@ -1,8 +1,9 @@
namespace :test do
desc "Run doctests"
task :doctest do
- sh "ruby #{File.dirname(__FILE__)}/../bin/rubydoctest #{File.dirname(__FILE__)}/../test/doctest"
+ sh "ruby #{File.dirname(__FILE__)}/../bin/rubydoctest #{File.dirname(__FILE__)}/../lib/*.rb"
+ sh "ruby #{File.dirname(__FILE__)}/../bin/rubydoctest #{File.dirname(__FILE__)}/../doc/*.doctest"
end
namespace :doctest do
desc "Run rstakeout on test/doctest files"
task :auto do
\ No newline at end of file