Skip to content

Commit 6ae1f4a

Browse files
Include only combined RBI (stripe#1641)
1 parent b629896 commit 6ae1f4a

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

sorbet/config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
.
33
--ignore=tmp/
44
--ignore=vendor/
5+
--ignore=rbi/stripe.rbi

stripe.gemspec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ Gem::Specification.new do |s|
3535
/\A\.vscode/,
3636
/\Abin/,
3737
/\Asorbet/,
38-
/\Atest/
38+
/\Atest/,
39+
# Ignores the contents of rbi/stripe/** but keeps rbi/stripe.rbi
40+
# Only rbi/stripe.rbi is included in the gem
41+
%r{\Arbi/stripe/}
3942
)
4043
s.files = `git ls-files`.split("\n").grep_v(ignored)
4144
s.bindir = "exe"

0 commit comments

Comments
 (0)