1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Debian builds packages from source tarballs so git cannot find list of files
--- a/rqrcode.gemspec
+++ b/rqrcode.gemspec
@@ -22,11 +22,7 @@ Gem::Specification.new do |spec|
"changelog_uri" => "https://github.com/whomwah/rqrcode/blob/main/CHANGELOG.md"
}
- spec.files = Dir.chdir(File.expand_path(__dir__)) do
- `git ls-files -z`.split("\x0").select do |f|
- f.match(%r{^lib/}) || %w[LICENSE.txt README.md CHANGELOG.md].include?(f)
- end
- end
+ spec.files = Dir.glob("**/*")
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
|