aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJustin Ko <oknitsuj@gmail.com>2019-04-05 04:18:40 -0700
committerLaurent Le Brun <laurentlb@gmail.com>2019-04-05 13:18:40 +0200
commit184c66e563babf7f6396c0d6236e75ed3a7bfcc1 (patch)
tree7bc8c35d00ab1cd04e7741988b4b93ba16888aaa /README.md
parentcc6a6c3ed4298d2a9fd5791b8d3546dee4f86d3f (diff)
downloadbazel-skylib-184c66e563babf7f6396c0d6236e75ed3a7bfcc1.tar.gz
Fix installation instructions (#135)
The README is referring to the deprecated git_repository() rule, which causes in Bazel 0.22.
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/README.md b/README.md
index 6d02b78..73d33ca 100644
--- a/README.md
+++ b/README.md
@@ -24,10 +24,13 @@ your workspace. Replace the version number in the `tag` attribute with the
version you wish to depend on:
```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",
- remote = "https://github.com/bazelbuild/bazel-skylib.git",
- tag = "0.1.0", # change this to use a different release
+ type = "tar.gz",
+ url = "https://github.com/bazelbuild/bazel-skylib/releases/download/{}/bazel-skylib.{}.tar.gz".format (skylib_version, skylib_version),
+ sha256 = "2ef429f5d7ce7111263289644d233707dba35e39696377ebab8b0bc701f7818e",
)
```