Skip to content

Commit

Permalink
allow adding third party protobuf (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
butonic authored Sep 22, 2021
1 parent 1d82deb commit 2c16db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ func buildProto() {
files := findProtos()
fmt.Println(files)

args := []string{"--doc_out=./docs", "--doc_opt=html,index.html"}
args := []string{"--doc_out=./docs", "--doc_opt=html,index.html", "-I=.", "-I=./third_party"}
args = append(args, files...)
cmd = exec.Command("protoc", args...)
run(cmd)
Expand Down

0 comments on commit 2c16db8

Please sign in to comment.