diff options
author | Nobuyoshi Nakada <[email protected]> | 2024-04-15 14:24:19 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2024-04-18 10:27:19 +0900 |
commit | 88a88b56c7094bca3db42f01d672622527dcad14 (patch) | |
tree | 4280ea2cdd1bbd1e5d0aac1b05fc18f50de05c85 | |
parent | 6ac8f6a10eb011147a6cdaf4cf4154c41a7d9080 (diff) |
[ruby/optparse] [DOC] Package files for RDoc
https://github.com/ruby/optparse/commit/b49cb996af
-rw-r--r-- | lib/optparse/optparse.gemspec | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/optparse/optparse.gemspec b/lib/optparse/optparse.gemspec index a4287ddeee..9427646fb4 100644 --- a/lib/optparse/optparse.gemspec +++ b/lib/optparse/optparse.gemspec @@ -22,7 +22,8 @@ Gem::Specification.new do |spec| spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage - spec.files = Dir["{doc,lib,misc}/**/*"] + %w[README.md ChangeLog COPYING] + spec.files = Dir["{doc,lib,misc}/**/{*,.document}"] + + %w[README.md ChangeLog COPYING .document .rdoc_options"] spec.rdoc_options = ["--main=README.md", "--op=rdoc", "--page-dir=doc"] spec.bindir = "exe" spec.executables = [] |