Skip to content

Commit

Permalink
Exclude sorbet directory and tapioca script when packing gem (#1362)
Browse files Browse the repository at this point in the history
  • Loading branch information
helenye-stripe authored Mar 15, 2024
1 parent 3a51dfa commit faa5d45
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stripe.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,13 @@ Gem::Specification.new do |s|
/\A\.rubocop/,
/\A\.travis.yml/,
/\A\.vscode/,
%r{\A(bin/tapioca)},
/\Asorbet/,
/\Atest/
)
s.files = `git ls-files`.split("\n").reject { |f| ignored.match(f) }
s.executables = `git ls-files -- bin/*`.split("\n")
.map { |f| File.basename(f) }
.reject { |f| f == "tapioca" }
s.require_paths = ["lib"]
end

0 comments on commit faa5d45

Please # to comment.