On Sun, Dec 02, 2018 at 11:51:52AM +0900, Hideki Yamane wrote:
> > s.files = `git ls-files`.split("\n")
> > s.test_files = `git ls-files -- spec/*`.split("\n")
>
> And, some people told me that "bundle gem" creates template, then
> it contains `git ls-files`...
>
> Well, how do you deal with it?
>
> - Create patch that replaces with `ls` and `find`
> - Add dependency with git (in debian/control?)
> - Ask upstream to change it
I always create patch that replaces them with like:
> `Dir['**/*'].reject { |f| f =~ %r{^debian/} }`
ref. https://lists.debian.org/debian-ruby/2017/12/msg00005.html
--
Regards,
dai
GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E
Attachment:
signature.asc
Description: PGP signature