This repository has been archived by the owner on Mar 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hooking the Go compilation step into the sbt build and adding a depen…
…dency for the TCK
- Loading branch information
1 parent
c99b53d
commit 5b9df7c
Showing
16 changed files
with
28 additions
and
2,145 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 |
---|---|---|
|
@@ -36,3 +36,4 @@ target-sbt | |
node_modules | ||
.idea/ | ||
.nyc_output | ||
go-support/shoppingcart/cmd/shoppingcart/tck_shoppingcart |
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,10 +1,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo "building go TCK shoppingcart for OS: ${GOOS} on ${GOARCH}" | ||
|
||
SUFFIX="" | ||
if [ "$GOOS" == "windows" ]; then | ||
SUFFIX=".exe" | ||
fi | ||
|
||
cd shoppingcart/cmd/shoppingcart/ && CGO_ENABLED=0 go build -v -o "tck_shoppingcart${SUFFIX}" | ||
cd shoppingcart/cmd/shoppingcart/ && CGO_ENABLED=0 go build -v -o "tck_shoppingcart${SUFFIX}" && echo "go-support compiled successfully: ${GOOS} on ${GOARCH}" |
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,10 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
protoc --go_out=plugins=grpc:. --proto_path=./protocols/frontend/ --proto_path=./protocols/protocol/ --proto_path=./protocols/proxy/ --proto_path=./protocols/example/ protocols/protocol/cloudstate/entity.proto | ||
protoc --go_out=plugins=grpc:. --proto_path=./protocols/frontend/ --proto_path=./protocols/protocol/ --proto_path=./protocols/proxy/ --proto_path=./protocols/example/ protocols/frontend/cloudstate/entity_key.proto | ||
protoc --go_out=plugins=grpc:. --proto_path=./protocols/frontend/ --proto_path=./protocols/protocol/ --proto_path=./protocols/proxy/ --proto_path=./protocols/example/ protocols/protocol/cloudstate/event_sourced.proto | ||
|
||
protoc --go_out=plugins=grpc:. --proto_path=./protocols/frontend/ --proto_path=./protocols/protocol/ --proto_path=./protocols/proxy/ --proto_path=./protocols/example/ protocols/protocol/cloudstate/crdt.proto | ||
protoc --go_out=plugins=grpc:. --proto_path=./protocols/frontend/ --proto_path=./protocols/protocol/ --proto_path=./protocols/proxy/ --proto_path=./protocols/example/ protocols/protocol/cloudstate/function.proto | ||
|
||
protoc --go_out=plugins=grpc:. --proto_path=./protocols/frontend/ --proto_path=./protocols/protocol/ --proto_path=./protocols/proxy/ --proto_path=./protocols/example/ protocols/example/shoppingcart/shoppingcart.proto | ||
protoc --go_out=plugins=grpc:. --proto_path=./protocols/frontend/ --proto_path=./protocols/protocol/ --proto_path=./protocols/proxy/ --proto_path=./protocols/example/ protocols/protocol/cloudstate/entity.proto protocols/frontend/cloudstate/entity_key.proto protocols/protocol/cloudstate/event_sourced.proto protocols/protocol/cloudstate/crdt.proto protocols/protocol/cloudstate/function.proto protocols/example/shoppingcart/shoppingcart.proto |
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
go-support/protos/example/shoppingcart/persistence/domain.proto
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.