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 db08725 commit 53a1156Copy full SHA for 53a1156
mcp.gemspec
@@ -19,7 +19,9 @@ Gem::Specification.new do |spec|
19
spec.metadata["homepage_uri"] = spec.homepage
20
spec.metadata["source_code_uri"] = spec.homepage
21
22
- spec.files = Dir.glob("lib/**/*.rb").reject { |f| f.match(%r{^(test|spec|features)/}) }
+ spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
23
+ %x(git ls-files -z).split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
24
+ end
25
26
spec.bindir = "exe"
27
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
0 commit comments