Skip to content

Commit

Permalink
Merge "[FAB-16198] Run "go mod vendor" for FabCar Go contract"
Browse files Browse the repository at this point in the history
  • Loading branch information
lehors authored and Gerrit Code Review committed Aug 8, 2019
2 parents 977ba9f + b6380cc commit 4ff4105
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fabcar/startFabric.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ CC_SRC_LANGUAGE=`echo "$CC_SRC_LANGUAGE" | tr [:upper:] [:lower:]`
if [ "$CC_SRC_LANGUAGE" = "go" -o "$CC_SRC_LANGUAGE" = "golang" ]; then
CC_RUNTIME_LANGUAGE=golang
CC_SRC_PATH=github.com/hyperledger/fabric-samples/chaincode/fabcar/go
echo Vendoring Go dependencies ...
pushd ../chaincode/fabcar/go
GO111MODULE=on go mod vendor
popd
echo Finished vendoring Go dependencies
elif [ "$CC_SRC_LANGUAGE" = "java" ]; then
CC_RUNTIME_LANGUAGE=java
CC_SRC_PATH=/opt/gopath/src/github.com/hyperledger/fabric-samples/chaincode/fabcar/java
Expand Down

0 comments on commit 4ff4105

Please sign in to comment.