Fixing test path for recursive go dep
# This script builds the networkservicemesh
#
+set -e
+
export RACE_ENABLED="-race"
while test $# -gt 0; do
case "$1" in
@@ -16,7 +18,7 @@ while test $# -gt 0; do
shift
done
-[ -d vendor/ligato/networkservicemesh/ ] && (echo "Run: rm -rf vendor/ligato/networkservicemesh;dep ensure";exit 1)
+[ -d vendor/github.com/ligato/networkservicemesh/ ] && (echo "Run: rm -rf vendor/github.com/ligato/networkservicemesh;dep ensure";exit 1)
test -z $(go fmt ./...) || (echo "Run go fmt ./... and recommit your code";exit 1)
go get -u github.com/golang/protobuf/protoc-gen-go
go generate ./...
