Skip to content

Commit

Permalink
Exclude examples folder from gem build
Browse files Browse the repository at this point in the history
  • Loading branch information
Artheanos committed Mar 22, 2024
1 parent c3abf8b commit 3bc6139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mailtrap.gemspec
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject do |f|
(f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|github|travis|circleci)|appveyor)})
(f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features|examples)/|\.(?:git|github|travis|circleci)|appveyor)})
end
end
spec.require_paths = ['lib']
Expand Down

0 comments on commit 3bc6139

Please sign in to comment.