diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-01-05 18:02:02 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-01-05 19:16:53 +0900 |
commit | 8bba6d3d54fb10aa0fe12c3001b520fffc695663 (patch) | |
tree | 149ea572a4ae573effb6c2284a2ba2c4030e1d0e /lib/bundler/templates/newgem/newgem.gemspec.tt | |
parent | e38d583391a8839848abbda8ab32afd59c603da6 (diff) |
[rubygems/rubygems] Exclude bin directory for newgem template, Because it contains only development script
https://github.com/rubygems/rubygems/commit/01017ee8ca
Diffstat (limited to 'lib/bundler/templates/newgem/newgem.gemspec.tt')
-rw-r--r-- | lib/bundler/templates/newgem/newgem.gemspec.tt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/templates/newgem/newgem.gemspec.tt b/lib/bundler/templates/newgem/newgem.gemspec.tt index e07ec5867d..546a28b78a 100644 --- a/lib/bundler/templates/newgem/newgem.gemspec.tt +++ b/lib/bundler/templates/newgem/newgem.gemspec.tt @@ -26,7 +26,7 @@ Gem::Specification.new do |spec| # The `git ls-files -z` loads the files in the RubyGem that have been added into git. spec.files = Dir.chdir(File.expand_path(__dir__)) do `git ls-files -z`.split("\x0").reject do |f| - (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)}) + (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)}) end end spec.bindir = "exe" |