Skip to content

Commit 3a60d30

Browse files
authored
Merge pull request #51 from ksss/except-dot-github
Exclude unnecessary files from gem packages
2 parents d714409 + 5d712b3 commit 3a60d30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

benchmark.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
2525
# Specify which files should be added to the gem when it is released.
2626
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
2727
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
28-
`git ls-files -z 2>#{IO::NULL}`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
28+
`git ls-files -z 2>#{IO::NULL}`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|bin|.github)/}) }
2929
end
3030
spec.bindir = "exe"
3131
spec.executables = []

0 commit comments

Comments
 (0)