diff options
author | tduehr <tduehr@gmail.com> | 2014-09-25 15:10:42 -0500 |
---|---|---|
committer | tduehr <tduehr@gmail.com> | 2014-09-25 15:10:42 -0500 |
commit | 0409fa86a070ecddc078e4de8a3b78b5dfe41053 (patch) | |
tree | 71eeff904ecb412bf6e4c09ae17f80259a5fcc04 | |
parent | 2c7fe3575901c8693444ca7e6354bb923cb818f2 (diff) | |
download | ffi-0409fa86a070ecddc078e4de8a3b78b5dfe41053.tar.gz |
exclude dylibs from gem
-rw-r--r-- | ffi.gemspec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi.gemspec b/ffi.gemspec index 4acd63a..99917c5 100644 --- a/ffi.gemspec +++ b/ffi.gemspec @@ -8,7 +8,7 @@ Gem::Specification.new do |s| s.homepage = 'http://wiki.github.com/ffi/ffi' s.summary = 'Ruby FFI' s.description = 'Ruby FFI library' - s.files = %w(ffi.gemspec LICENSE COPYING README.md Rakefile) + Dir.glob("{ext,gen,lib,spec,libtest}/**/*").reject { |f| f =~ /(lib\/[12]\.[089]|\.so$|\.bundle$)/ } + s.files = %w(ffi.gemspec LICENSE COPYING README.md Rakefile) + Dir.glob("{ext,gen,lib,spec,libtest}/**/*").reject { |f| f =~ /(lib\/[12]\.[089]|\.so$|\.bundle|\.dylib$)/ } s.extensions << 'ext/ffi_c/extconf.rb' s.has_rdoc = false s.rdoc_options = %w[--exclude=ext/ffi_c/.*\.o$ --exclude=ffi_c\.(bundle|so)$] |