Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Ostrovsky2019-06-08 15:33:28 +0000
committerDavid Pursehouse2019-09-07 06:35:56 +0000
commit5ae0d152a992ebd83b8569d08bfadb37f80b9e70 (patch)
treeb56979e6498050d569e79e06a2eb22f529542e22 /.bazelversion
parentf75effda4d36309da75d463eeb7239dad4272013 (diff)
downloadjgit-5ae0d152a992ebd83b8569d08bfadb37f80b9e70.tar.gz
jgit-5ae0d152a992ebd83b8569d08bfadb37f80b9e70.tar.xz
jgit-5ae0d152a992ebd83b8569d08bfadb37f80b9e70.zip
Use bazelisk to switch between used bazel version
Bazelisk is utility to switch to the right Bazel version, that we used to have with Buck build tool: [1]. Bazelisk will download the right Bazel version only once and will use it in subsequent calls: $ bazelisk build :release 2019/06/06 16:22:15 Downloading \ https://releases.bazel.build/0.26.1/release/bazel-0.26.1-linux-x86_64... Bazelisk is storing the binaries in user's cache directory: [2], e.g. on Linux OS: $ ls -1 ~/.cache/bazelisk/bin bazel-0.26.1-linux-x86_64 * [1] https://github.com/bazelbuild/bazelisk * [2] https://golang.org/pkg/os/#UserCacheDir Change-Id: Ia9180fb75f8cc17a0a0232622cf33a13bfad6b60 Signed-off-by: David Ostrovsky <david@ostrovsky.org>
Diffstat (limited to '.bazelversion')
-rw-r--r--.bazelversion1
1 files changed, 1 insertions, 0 deletions
diff --git a/.bazelversion b/.bazelversion
new file mode 100644
index 0000000000..7cca7711a0
--- /dev/null
+++ b/.bazelversion
@@ -0,0 +1 @@
+0.17.1

Back to the top