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 4c0021b commit df3933aCopy full SHA for df3933a
optparse.gemspec
@@ -21,9 +21,9 @@ Gem::Specification.new do |spec|
21
spec.metadata["source_code_uri"] = spec.homepage
22
23
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
24
- `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)/}) }
25
end
26
spec.bindir = "exe"
27
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
28
spec.require_paths = ["lib"]
29
0 commit comments