Skip to content

Commit 8a453a4

Browse files
committed
Don't include the doc/ or pkg/ directory in the gem
1 parent 6e187db commit 8a453a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webmachine.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ Gem::Specification.new do |gem|
3333
gem.add_development_dependency('standard', ['~> 1.21'])
3434
ignores = File.read('.gitignore').split(/\r?\n/).reject { |f| f =~ /^(#.+|\s*)$/ }.map { |f| Dir[f] }.flatten
3535
gem.files = (Dir['**/*', '.gitignore'] - ignores).reject do |f|
36-
!File.file?(f) || f.start_with?(*%w[. Gemfile RELEASING Rakefile memory_test spec webmachine.gemspec])
36+
!File.file?(f) || f.start_with?(*%w[. Gemfile RELEASING Rakefile doc/ memory_test pkg/ spec/ webmachine.gemspec])
3737
end
3838
end

0 commit comments

Comments
 (0)