|
export PATH="$(git rev-parse --show-toplevel)/bin:$PATH"
|
|
|
|
arch=$(uname | tr A-Z a-z)
|
|
|
|
if [[ ! -x bin/bazel ]]; then
|
|
mkdir -p bin
|
|
wget "https://github.com/bazelbuild/bazelisk/releases/download/v1.9.0/bazelisk-$(arch)-amd64" \
|
|
-O bin/bazel
|
|
chmod a+x bin/bazel
|
|
fi
|