-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
v2
generate configs and modules to generate integration tests
- Loading branch information
Showing
6 changed files
with
223 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
private/buf/cmd/buf/command/generate/testdata/v2/duplicate_plugins/a.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
syntax = "proto3"; | ||
|
||
package a.v1; | ||
|
||
message Foo {} |
10 changes: 10 additions & 0 deletions
10
private/buf/cmd/buf/command/generate/testdata/v2/duplicate_plugins/buf.gen.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# The same plugin can be executed more than once, as long as they are written | ||
# to different output directories. | ||
version: v2 | ||
plugins: | ||
- protoc_builtin: java | ||
out: foo | ||
- protoc_builtin: java | ||
out: bar | ||
managed: | ||
enabled: false |
5 changes: 5 additions & 0 deletions
5
private/buf/cmd/buf/command/generate/testdata/v2/simple/a/v1/a.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
syntax = "proto3"; | ||
|
||
package a.v1; | ||
|
||
message Foo {} |
6 changes: 6 additions & 0 deletions
6
private/buf/cmd/buf/command/generate/testdata/v2/simple/buf.gen.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: v2 | ||
plugins: | ||
- protoc_builtin: java | ||
out: java | ||
managed: | ||
enabled: false |
6 changes: 6 additions & 0 deletions
6
private/buf/cmd/buf/command/generate/testdata/v2/simple/buf.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: v2 | ||
modules: | ||
- directory: . | ||
lint: | ||
except: | ||
- PACKAGE_NO_IMPORT_CYCLE |