mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-04 09:19:39 +02:00
do not require project be in GOPATH/src (#2078)
This commit is contained in:
parent
6aa716bc95
commit
0e66619081
3 changed files with 557 additions and 559 deletions
File diff suppressed because it is too large
Load diff
|
@ -7,7 +7,7 @@ import "google/protobuf/duration.proto";
|
|||
import "google/protobuf/struct.proto";
|
||||
import "envoy/config/cluster/v3/cluster.proto";
|
||||
|
||||
import "github.com/pomerium/pomerium/pkg/grpc/crypt/crypt.proto";
|
||||
import "crypt/crypt.proto";
|
||||
|
||||
message Config {
|
||||
string name = 1;
|
||||
|
|
|
@ -59,14 +59,14 @@ _import_paths=$(join_by , "${_imports[@]}")
|
|||
--go_out="$_import_paths,plugins=grpc,paths=source_relative:./audit/." \
|
||||
./audit/audit.proto
|
||||
|
||||
../../scripts/protoc -I "$GOPATH/src" -I ./config/ \
|
||||
--go_out="$_import_paths,plugins=grpc,paths=source_relative:./config/." \
|
||||
./config/config.proto
|
||||
|
||||
../../scripts/protoc -I ./crypt/ \
|
||||
--go_out="$_import_paths,plugins=grpc,paths=source_relative:./crypt/." \
|
||||
./crypt/crypt.proto
|
||||
|
||||
../../scripts/protoc -I ./config/ -I ./ \
|
||||
--go_out="$_import_paths,plugins=grpc,paths=source_relative:./config/." \
|
||||
./config/config.proto
|
||||
|
||||
../../scripts/protoc -I ./databroker/ \
|
||||
--go_out="$_import_paths,plugins=grpc,paths=source_relative:./databroker/." \
|
||||
./databroker/databroker.proto
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue