From 05cd1e44c8af74a02ba2842ca914889cc984bde0 Mon Sep 17 00:00:00 2001 From: Pirate Praveen Date: Thu, 14 Feb 2019 13:07:54 +0000 Subject: [PATCH] Remove usage of git from gemspec Author: Pirate Praveen Gbp-Pq: Name 001-remove-git-in-gemspec.patch --- hamlit.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hamlit.gemspec b/hamlit.gemspec index bb0931c..c891a19 100644 --- a/hamlit.gemspec +++ b/hamlit.gemspec @@ -14,9 +14,9 @@ Gem::Specification.new do |spec| spec.homepage = 'https://github.com/k0kubun/hamlit' spec.license = 'MIT' - spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|sample)/}) } + spec.files = Dir['lib/**/*']+Dir['ext/**/*']+Dir['sample/**/*']+['REFERENCE.md'] spec.bindir = 'exe' - spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } + spec.executables = 'hamlit' spec.require_paths = ['lib'] if /java/ === RUBY_PLATFORM -- 2.30.2