1
Fork 0
hermetic_cc_toolchain/.envrc

11 lines
281 B
Plaintext

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