-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove external submodule and use BUF for code gen. (#470)
Signed-off-by: Christoph Bühler <cbuehler@rootd.ch>
- Loading branch information
Showing
18 changed files
with
68 additions
and
258 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
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
name: Security audit | ||
name: Security Audit | ||
|
||
on: | ||
push: | ||
paths: | ||
paths: | ||
- '**/Cargo.toml' | ||
- '**/Cargo.lock' | ||
schedule: | ||
|
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
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/target | ||
Cargo.lock | ||
temp* | ||
src/api/generated |
This file was deleted.
Oops, something went wrong.
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
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,22 @@ | ||
# buf.gen.yaml | ||
version: v1 | ||
managed: | ||
enabled: true | ||
plugins: | ||
- plugin: prost | ||
out: src/api/generated | ||
opt: | ||
- compile_well_known_types | ||
- extern_path=.google.protobuf=::pbjson_types | ||
- plugin: tonic | ||
out: src/api/generated | ||
opt: | ||
- compile_well_known_types | ||
- extern_path=.google.protobuf=::pbjson_types | ||
- no_server | ||
- name: prost-crate | ||
out: src/api/generated | ||
strategy: all | ||
opt: | ||
- no_features | ||
- include_file=mod.rs |
Submodule googleapis
deleted from
3f11cd
Submodule grpc-gateway
deleted from
40ee80
Submodule protoc-gen-validate
deleted from
6f0b74
Submodule zitadel
deleted from
4378eb
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,9 @@ | ||
proto_dir := "./src/api/generated" | ||
|
||
default: clean generate-grpc | ||
|
||
clean: | ||
@rm -rf {{proto_dir}} | ||
|
||
generate-grpc: | ||
buf generate https://github.com/zitadel/zitadel.git --path ./proto/zitadel |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.