Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rliang committed Nov 20, 2023
1 parent 8d88576 commit 6c1b20f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ To generate source files from a `buf` project into another project, use the `@go
"options": {
"srcProject": "proto",
"copyFrom": ["gen/*"],
"copyTo": "src/gen"
"copyTo": "src/gen",
"options": "--include-imports"
}
},
"build": {
Expand All @@ -72,6 +73,7 @@ The options are as follows:
* `srcProject`: the project from where to grab the generated sources after running `buf generate`.
* `copyFrom`: a list of glob patterns to copy from that project, relative to its root.
* `copyTo`: the destination folder, relative to the target project.
* `options`: (optional) additional command-line arguments to pass to `buf generate`.

### Dependency graph

Expand Down

0 comments on commit 6c1b20f

Please sign in to comment.