mirror of
https://github.com/google/nomulus
synced 2026-04-04 16:49:23 +00:00
Update FOSS bazel version to 0.10.0
Also changed version checker tuple from strings to ints, so that 0.10.0 is larger than 0.4.2. I think we should just get rid of the version checker all together. It is still requirement 0.4.2 as minimal bazel version, which mostly like will not work with Nomulus at this point. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=184536748
This commit is contained in:
@@ -7,8 +7,8 @@ This document covers the steps necessary to download, build, and deploy Nomulus.
|
||||
You will need the following programs installed on your local machine:
|
||||
|
||||
* A recent version of the [Java 8 JDK][java-jdk8].
|
||||
* [Bazel build system](http://bazel.io/) (version [0.9.0][bazel-version] works
|
||||
as of 2017-12-19).
|
||||
* [Bazel build system](http://bazel.io/) (version [0.10.0][bazel-version]
|
||||
works as of 2018-02-05).
|
||||
* [Google App Engine SDK for Java][app-engine-sdk], and configure aliases to
|
||||
to the `gcloud` and `appcfg.sh` utilities (you'll use them a lot).
|
||||
* [Git](https://git-scm.com/) version control system.
|
||||
@@ -181,4 +181,4 @@ See the [first steps tutorial](./first-steps-tutorial.md) for more information.
|
||||
|
||||
[app-engine-sdk]: https://cloud.google.com/appengine/docs/java/download
|
||||
[java-jdk8]: http://www.oracle.com/technetwork/java/javase/downloads
|
||||
[bazel-version]: https://github.com/bazelbuild/bazel/releases/download/0.9.0/bazel-0.9.0-installer-linux-x86_64.sh
|
||||
[bazel-version]: https://github.com/bazelbuild/bazel/releases/download/0.10.0/bazel-0.10.0-installer-linux-x86_64.sh
|
||||
|
||||
@@ -2480,8 +2480,8 @@ def _parse_bazel_version(bazel_version):
|
||||
# Split into (release, date) parts and only return the release
|
||||
# as a tuple of integers.
|
||||
parts = version.split("-", 1)
|
||||
# Turn "release" into a tuple of strings
|
||||
# Turn "release" into a tuple of ints.
|
||||
version_tuple = ()
|
||||
for number in parts[0].split("."):
|
||||
version_tuple += (str(number),)
|
||||
version_tuple += (int(number),)
|
||||
return version_tuple
|
||||
|
||||
Reference in New Issue
Block a user