1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/rdoc] Add "rake clean" task to erase generated parser files

https://github.com/ruby/rdoc/commit/4e3e635afa
This commit is contained in:
aycabta 2021-08-09 21:03:27 +09:00
parent b277a6d26d
commit d082510429

View file

@ -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