Skip to content

Commit

Permalink
Slim down the gem size by excluding examples
Browse files Browse the repository at this point in the history
  • Loading branch information
meltingice committed Jul 31, 2013
1 parent 7bcc370 commit 0068f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psd.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
gem.homepage = "http://cosmos.layervault.com/psdrb.html"
gem.license = 'MIT'

gem.files = `git ls-files`.split($/)
gem.files = `git ls-files`.split($/).delete_if { |f| f.include?('examples/') }
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
Expand Down

0 comments on commit 0068f06

Please sign in to comment.