Skip to content

Commit

Permalink
Set up rbs_concat_level through RBS_PROTOBUF_CONCAT_LEVEL env var
Browse files Browse the repository at this point in the history
  • Loading branch information
soutaro committed Sep 6, 2023
1 parent 9b4b850 commit 95b084f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions exe/protoc-gen-rbs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ translator = case backend
raise NotImplementedError
end

if level = ENV["RBS_PROTOBUF_CONCAT_LEVEL"]
translator.rbs_concat_level = level.to_i
end
translator.generate_rbs!

response = translator.response
Expand Down

0 comments on commit 95b084f

Please sign in to comment.