We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 750c145 commit 7bb4c7eCopy full SHA for 7bb4c7e
debug.gemspec
@@ -17,8 +17,10 @@ Gem::Specification.new do |spec|
17
18
# Specify which files should be added to the gem when it is released.
19
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
20
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
21
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
+ `git ls-files -z`.split("\x0").reject do |f|
22
+ (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
23
+ end
24
end
25
spec.bindir = "exe"
26
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
0 commit comments