diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2016-07-07 23:37:35 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2016-07-07 23:37:35 -0600 |
| commit | 2185d777fb10c120e9fd9a073a9e88662d171d6e (patch) | |
| tree | 1d656b42ef04c6777797e296f1478c07e9e46d1f /asciidoctor.gemspec | |
| parent | e8c75f6e19b62d7c80a29d110552ebd173f0b778 (diff) | |
cleanup file lists in gemspec
- don't include test files in main files (as they're added automatically)
- don't include executables in main files (as they're added automatically)
- include translations of README
- include Gemfile and gemspec
Diffstat (limited to 'asciidoctor.gemspec')
| -rw-r--r-- | asciidoctor.gemspec | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/asciidoctor.gemspec b/asciidoctor.gemspec index ad371e42..1bbaffcf 100644 --- a/asciidoctor.gemspec +++ b/asciidoctor.gemspec @@ -17,9 +17,9 @@ Gem::Specification.new do |s| rescue Dir['**/*'] end - s.files = files.grep(/^(?:(?:bin|data|features|lib|man|test)\/.+|Rakefile|(?:CHANGELOG|CONTRIBUTING|LICENSE|README)\.adoc)$/) - s.executables = s.files.grep(/^bin\//).map {|f| File.basename f } - s.test_files = s.files.grep(/^(?:test\/.*_test\.rb|features\/.*\.(?:feature|rb))$/) + s.files = files.grep(/^(?:(?:data|lib|man)\/.+|Gemfile|Rakefile|(?:CHANGELOG|CONTRIBUTING|LICENSE|README(?:-\w+)?)\.adoc|#{s.name}\.gemspec)$/) + s.executables = files.grep(/^bin\//).map {|f| File.basename f } + s.test_files = files.grep(/^(?:test\/.*_test\.rb|features\/.*\.(?:feature|rb))$/) s.require_paths = ['lib'] s.has_rdoc = true s.rdoc_options = ['--charset=UTF-8'] |
