bazelbuild/bazel

Documentation for .bazelversion

Open

#11.264 geöffnet am 30. Apr. 2020

Auf GitHub ansehen
 (4 Kommentare) (7 Reaktionen) (0 zugewiesene Personen)Java (4.465 Forks)batch import
P3help wantedteam-Documentationteam-OSStype: documentation (cleanup)

Repository-Metriken

Stars
 (25.384 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 22T 20h) (77 gemergte PRs in 30 T)

Beschreibung

I think we need some documentation to explain what is the .bazelversion file and how/when it should be used.

I wonder if there's a way to make the check a bit less strict. For example, I couldn't use my Bazel 3.1.0 for a project that declares Bazel 3.0.0. Is there a syntax like 3.x.x (or just 3) to allow this?

Also, the error message said The project you're trying to build requires Bazel 3.0.0, but it didn't which version of Bazel I was using. And bazel help and bazel version were not working because of the version check.

Contributor Guide