1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: Updating git files in gemspec
Author: Samyak Jain <samyak.jn11@gmail.com>
Bug-Debian: https://bugs.debian.org/943746
---
--- a/rqrcode_core.gemspec
+++ b/rqrcode_core.gemspec
@@ -21,9 +21,7 @@ Gem::Specification.new do |spec|
"changelog_uri" => "https://github.com/whomwah/rqrcode_core/blob/main/CHANGELOG.md"
}
- 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 = Dir.glob("**/*").select {|v| v !~ /^(test|spec|features|debian)/}
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
|