Skip to content

Commit 3a4f553

Browse files
kssshsbt
authored andcommitted
Fix rbs:annotate task
rbs 3.10 cannot support rdoc < v6.16. And rdoc v7 has been released.
1 parent 342a729 commit 3a4f553

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ gem "test-unit"
55

66
group :sig do
77
gem "rbs"
8-
gem "rdoc", "<= 6.11"
8+
gem "rdoc"
99
end

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ namespace :rbs do
1717
require "pathname"
1818

1919
Dir.mktmpdir do |tmpdir|
20-
system("rdoc --ri --output #{tmpdir}/doc --root=. lib")
21-
system("rbs annotate --no-system --no-gems --no-site --no-home -d #{tmpdir}/doc sig")
20+
sh("rdoc --ri --output #{tmpdir}/doc --root=. lib")
21+
sh("rbs annotate --no-system --no-gems --no-site --no-home -d #{tmpdir}/doc sig")
2222
end
2323
end
2424

0 commit comments

Comments
 (0)