From 8bba6d3d54fb10aa0fe12c3001b520fffc695663 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 5 Jan 2022 18:02:02 +0900 Subject: [rubygems/rubygems] Exclude bin directory for newgem template, Because it contains only development script https://github.com/rubygems/rubygems/commit/01017ee8ca --- lib/bundler/templates/newgem/newgem.gemspec.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/bundler/templates/newgem/newgem.gemspec.tt') 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" -- cgit v1.2.3