diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-20 01:40:36 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-20 01:40:36 +0000 |
commit | 5e4ab84dca3943b8bd8bf105bed1c17721449ace (patch) | |
tree | e0b296342b89c9483d13b68c8c9180a802cfc59f /lib | |
parent | 997830cd94c08bdbc6f91259be8be7d0502f27d4 (diff) | |
download | ruby-5e4ab84dca3943b8bd8bf105bed1c17721449ace.tar.gz |
Do not use `git ls-files` for file listing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tracer.gemspec | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/tracer.gemspec b/lib/tracer.gemspec index b84bcd9b56..7c55663211 100644 --- a/lib/tracer.gemspec +++ b/lib/tracer.gemspec @@ -11,11 +11,7 @@ Gem::Specification.new do |spec| spec.homepage = "https://github.com/ruby/tracer" spec.license = "BSD-2-Clause" - # Specify which files should be added to the gem when it is released. - # The `git ls-files -z` loads the files in the RubyGem that have been added into git. - spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do - `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } - end + spec.files = [".gitignore", ".travis.yml", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "lib/tracer.rb", "tracer.gemspec"] spec.bindir = "exe" spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] |