diff options
author | telyn <telyn@bytemark.co.uk> | 2018-01-25 11:35:06 +0000 |
---|---|---|
committer | telyn <telyn@bytemark.co.uk> | 2018-01-25 11:35:06 +0000 |
commit | 5d10d99339dd85d2b6498d9cbffe37b32308db17 (patch) | |
tree | 7100090d88671c29f22299ad7fb08438e49dd39a /mauve.gemspec | |
parent | 246397691f55609e7ddd2d237a18465a90f80ebd (diff) |
fix executables dir, stop shelling out to git
Diffstat (limited to 'mauve.gemspec')
-rw-r--r-- | mauve.gemspec | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mauve.gemspec b/mauve.gemspec index 01515f1..3e1bc4c 100644 --- a/mauve.gemspec +++ b/mauve.gemspec @@ -21,11 +21,9 @@ Gem::Specification.new do |spec| 'public gem pushes.' end - spec.files = `git ls-files -z`.split("\x0").reject do |f| - f.match(%r{^(test|spec|features)/}) - end - spec.bindir = 'exe' - spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } + spec.files = Dir['**/*'] + spec.bindir = 'bin' + spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.add_development_dependency 'bundler', '~> 1.16' |