Permalink
Browse files

Gemspec ignore test files for reduce gem size from 7.5MB to 7.5KB

  • Loading branch information...
huacnlee committed Sep 15, 2018
1 parent d1471cc commit 94516b3e2bf79d4b55ff54c763514d81f67558e0
Showing with 1 addition and 1 deletion.
  1. +1 −1 marcel.gemspec
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
spec.homepage = 'https://github.com/basecamp/marcel'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0")
spec.files = Dir['lib/**/*', 'MIT-LICENSE', 'README.md']
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']

0 comments on commit 94516b3

Please sign in to comment.