-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(fivetran_sdk): update the go script
- Loading branch information
1 parent
8b22c26
commit 59ecd8d
Showing
3 changed files
with
9 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#!/bin/bash | ||
mkdir proto | ||
./scripts/copy_protos.sh | ||
./scripts/compile_protos.sh | ||
go build golang_connector/main.go | ||
copy_protos.sh | ||
compile_protos.sh | ||
go build ../golang_connector/main.go |
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 @@ | ||
PATH="${PATH}:${HOME}/go/bin" protoc \ | ||
--proto_path=proto \ | ||
--go_out=proto \ | ||
--proto_path=../proto \ | ||
--go_out=../proto \ | ||
--go_opt=paths=source_relative \ | ||
--go-grpc_out=proto \ | ||
--go-grpc_out=../proto \ | ||
--go-grpc_opt=paths=source_relative \ | ||
common.proto \ | ||
connector_sdk.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 |
---|---|---|
@@ -1 +1,3 @@ | ||
cp ../../*.proto proto/ | ||
#!/bin/bash | ||
mkdir ../proto | ||
cp ../../../*.proto ../proto/ |