Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Figure out how to get users to have a certain Bazel version, set in repo #307

Open
oferb opened this issue Sep 14, 2018 · 1 comment
Open
Labels
good first issue Good for newcomers P3
Projects

Comments

@oferb
Copy link
Contributor

oferb commented Sep 14, 2018

Looks like we can use tools/bazel:
https://github.com/bazelbuild/bazel/blob/master/scripts/packages/bazel.sh#L19

@oferb oferb added good first issue Good for newcomers P3 labels Sep 14, 2018
@oferb oferb added this to To do in startup-os via automation Sep 14, 2018
@oferb
Copy link
Contributor Author

oferb commented Sep 14, 2018

Actually this might be the way to check it:

native.http_archive(
    name = "bazel_skylib",
    sha256 = "bbccf674aa441c266df9894182d80de104cabd19be98be002f6d478aaa31574d",
    strip_prefix = "bazel-skylib-2169ae1c374aab4a09aa90e65efe1a3aad4e279b",
    urls = ["https://github.com/bazelbuild/bazel-skylib/archive/2169ae1c374aab4a09aa90e65efe1a3aad4e279b.tar.gz"],
)


load("@bazel_skylib//:lib.bzl", "versions")
versions.check(minimum_bazel_version = "0.5.4"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers P3
Projects
startup-os
  
To do
Development

No branches or pull requests

1 participant