Re: Q: tests failure with calling `git` command
On Wed, 5 Dec 2018 18:02:11 +0900
dai@debian.org wrote:
> 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
Thanks, then, how about to send it to upstream (bundler)?
In "lib/bundler/templates/newgem/newgem.gemspec.tt"
> spec.files = `git ls-files -z`.split("\x0").reject do |f|
> f.match(%r{^(test|spec|features)/})
> end
or is there any reason not to do so?
--
Hideki Yamane <henrich@iijmio-mail.jp>
Reply to: