Skip to content

Commit

Permalink
Fix ls-files matching regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Oct 11, 2020
1 parent 35f0fd6 commit 04857e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io-wait.gemspec
Expand Up @@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
spec.metadata["source_code_uri"] = spec.homepage

spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
Expand Down

0 comments on commit 04857e0

Please sign in to comment.