aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bazelisk_version.bzl
Commit message (Collapse)AuthorAgeFilesLines
* Bazel: Reuse version from .bazelversion for minimum used version checkDavid Ostrovsky2019-09-231-0/+16
Bazel is still supported in addition to the Bazel wrapper Bazelisk, that is recommended, as it would automatically switch to the right Bazel version on stable branches (like it was the case with Buck). That why minimum used Bazel version check is still needed in WORKSPACE file in addition to the .bazelversion used by Bazelisk. That means that currently, bazel version is maintained in two places: * .bazelversion * WORKSPACE This change introduces the repository rule to read the bazel version from the .bazelversion file and perform the minimum version check. Change-Id: Ib9c1382935ded7bcd322ed0122838c40ba2faa6c Signed-off-by: David Ostrovsky <david@ostrovsky.org>