]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
include symlinked files separately via Dir.glob in gemspec
authorZoran <zoran@zurb.com>
Wed, 18 May 2016 23:38:17 +0000 (16:38 -0700)
committerZoran <zoran@zurb.com>
Wed, 18 May 2016 23:38:17 +0000 (16:38 -0700)
gem/foundation-emails.gemspec

index 5f9a88084de647e7687b3412ffac5c203ae32a62..a5e5ba2f2c41ee74284667e2e70edb72558cc0d7 100644 (file)
@@ -14,7 +14,9 @@ Gem::Specification.new do |spec|
   spec.homepage      = "http://foundation.zurb.com/emails"
   spec.license       = "MIT"
 
-  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
+  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|vendor)/}) }
+  # Include symlinked files separately via Dir.glob
+  spec.files         += Dir.glob("vendor/assets/stylesheets/foundation-emails/**/*.*")
   spec.bindir        = "exe"
   spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
   spec.require_paths = ["lib"]