update Makefile.cross-compiles and support darwin/arm64 (#2295)

This commit is contained in:
fatedier
2021-03-15 21:02:56 +08:00
committed by GitHub
parent 8e25f13201
commit 184a0ff9ab
7 changed files with 23 additions and 40 deletions

View File

@@ -5,7 +5,7 @@ ROOT=$(unset CDPATH && cd $(dirname "${BASH_SOURCE[0]}")/.. && pwd)
which ginkgo &> /dev/null
if [ $? -ne 0 ]; then
echo "ginkgo not found, try to install..."
go get -u github.com/onsi/ginkgo/ginkgo
go install github.com/onsi/ginkgo/ginkgo
fi
debug=false