Permalink
Browse files

Add `clean` task to remove existing rdoc files.

  • Loading branch information...
1 parent 6465a61 commit 674af22e1b63405b0536e25cf5aa9679610869d1 @zzak committed Feb 24, 2014
Showing with 9 additions and 0 deletions.
  1. +9 −0 Rakefile
View
@@ -15,5 +15,14 @@ RDoc::Task.new do |rdoc|
rdoc.options << "-O"
end
+desc "clean up existing rdoc files"
+task :clean do
+ sh "rm *.html"
+ sh "rm rdoc.css"
+ sh "rm created.rid"
+ sh "rm -rf images/"
+ sh "rm -rf js/"
+end
+
task(:spec => :test)
task(:default => :test)

0 comments on commit 674af22

Please sign in to comment.