diff options
-rw-r--r-- | lib/rdoc/Rakefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/rdoc/Rakefile b/lib/rdoc/Rakefile index fb00a270bc..278972e3ed 100644 --- a/lib/rdoc/Rakefile +++ b/lib/rdoc/Rakefile @@ -90,6 +90,12 @@ task "#{path}.gem" => package_parser_files desc "Generate all files used racc and kpeg" task :generate => parsed_files +task :clean do + parsed_files.each do |path| + File.delete(path) if File.exist?(path) + end +end + begin require 'rubocop/rake_task' rescue LoadError |