summaryrefslogtreecommitdiffhomepage
path: root/tasks/doc.rake
diff options
context:
space:
mode:
authorKOBAYASHI Shuji <[email protected]>2019-12-27 16:49:32 +0900
committerKOBAYASHI Shuji <[email protected]>2019-12-27 16:49:32 +0900
commit26e6e75ba6a59bc77c80a6ce5d207626cfed91a6 (patch)
treedc77273f9040dfe78a90d7e00108549ef2fd7f08 /tasks/doc.rake
parentef6805f599c19634809158da42ad7059ef0a9c5d (diff)
downloadmruby-26e6e75ba6a59bc77c80a6ce5d207626cfed91a6.tar.gz
mruby-26e6e75ba6a59bc77c80a6ce5d207626cfed91a6.zip
Use Rake DSL instead of commands of `FileUtils`
- Respect `--verbose(-v)` and `--dry-run(-n)` options. - Silence warnings to keyword arguments on Ruby 2.7.
Diffstat (limited to 'tasks/doc.rake')
-rw-r--r--tasks/doc.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/doc.rake b/tasks/doc.rake
index 4aec2d0a1..11b76bb3f 100644
--- a/tasks/doc.rake
+++ b/tasks/doc.rake
@@ -25,12 +25,12 @@ end
desc 'clean all built docs'
task :clean_api_doc do
- FileUtils.rm_rf 'doc/api'
+ rm_rf 'doc/api'
end
desc 'clean all built docs'
task :clean_capi_doc do
- FileUtils.rm_rf 'doc/capi'
+ rm_rf 'doc/capi'
end
desc 'clean all built docs'