From 3064483d4a61dd3368f9c6dc79084462a698005e Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 22 Oct 2023 08:34:05 +0900 Subject: [PATCH] [DOC] Add RDoc task --- .gitignore | 2 +- Rakefile | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 98df0f5..4ca3363 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ /coverage/ -/doc/ +/html/ /pkg/ /tmp/ /logs/ diff --git a/Rakefile b/Rakefile index 94531c7..6c82e20 100644 --- a/Rakefile +++ b/Rakefile @@ -1,5 +1,6 @@ require "bundler/gem_tasks" require "rake/testtask" +require "rdoc/task" name = "io/console" @@ -20,6 +21,8 @@ Rake::TestTask.new(:test) do |t| t.test_files = FileList["test/**/test_*.rb"] end +RDoc::Task.new + task :default => :test task "build" => "build:java"