1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: Remove usage of git from gemspec
Author: Pirate Praveen <praveen@debian.org>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/hamlit.gemspec
+++ b/hamlit.gemspec
@@ -14,9 +14,9 @@
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
|