1
Fork 0
hermetic_cc_toolchain/.envrc

11 lines
281 B
Plaintext
Raw Normal View History

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