diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-05-15 15:28:52 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-05-15 15:28:52 -0700 |
commit | a2a454e144b6e8b3c2d4b613a1ab532f0fbcef1c (patch) | |
tree | eea8adcd746e13095c9ff6a3ae42d47792bb61f4 | |
parent | b95b8222768a4b970d8c426f6de410cbe2bbbc37 (diff) | |
download | libyajl2-gem-a2a454e144b6e8b3c2d4b613a1ab532f0fbcef1c.tar.gz |
tired of fighting with git here
-rw-r--r-- | libyajl2.gemspec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libyajl2.gemspec b/libyajl2.gemspec index 20bad27..7770cc8 100644 --- a/libyajl2.gemspec +++ b/libyajl2.gemspec @@ -13,8 +13,8 @@ Gem::Specification.new do |spec| spec.homepage = "https://github.com/lamont-granquist/libyajl2-gem" spec.licenses = ["Apache 2.0"] - spec.files = `git ls-files -z`.split("\x0") + - `cd ext/libyajl2/vendor/yajl && git ls-files -z`.split("\x0").map { |p| p.sub!(/^/, 'ext/libyajl2/vendor/yajl/') } + spec.files = Dir.glob("{ext,lib,spec}/**/*") + + %w{Gemfile Rakefile CONTRIBUTING.md README.md libyajl2.gemspec bootstrap.sh LICENSE .kitchen.yml} spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.test_files = spec.files.grep(%r{^spec/}) spec.require_paths = ["lib"] |