Fix installation instructions (#135)

The README is referring to the deprecated git_repository() rule, which
causes in Bazel 0.22.
This commit is contained in:
Justin Ko 2019-04-05 04:18:40 -07:00 committed by Laurent Le Brun
parent cc6a6c3ed4
commit 184c66e563
1 changed files with 6 additions and 3 deletions

View File

@ -24,10 +24,13 @@ your workspace. Replace the version number in the `tag` attribute with the
version you wish to depend on: version you wish to depend on:
```python ```python
git_repository( # bazel-skylb 0.8.0 released 2019.03.20 (https://github.com/bazelbuild/bazel-skylib/releases/tag/0.8.0)
skylib_version = "0.8.0"
http_archive(
name = "bazel_skylib", name = "bazel_skylib",
remote = "https://github.com/bazelbuild/bazel-skylib.git", type = "tar.gz",
tag = "0.1.0", # change this to use a different release url = "https://github.com/bazelbuild/bazel-skylib/releases/download/{}/bazel-skylib.{}.tar.gz".format (skylib_version, skylib_version),
sha256 = "2ef429f5d7ce7111263289644d233707dba35e39696377ebab8b0bc701f7818e",
) )
``` ```