Skip to content

Commit d7d9efd

Browse files
committed
Periodically update README commit
Plus encourage WORKSPACE install at the top, because that's been the cause of a few issues.
1 parent 0e99003 commit d7d9efd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ bazel_dep(name = "hedron_compile_commands", dev_dependency = True)
5454
git_override(
5555
module_name = "hedron_compile_commands",
5656
remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git",
57-
commit = "9335ff4470f3e9238e3aa81aff4b72c528e16c38",
57+
commit = "0e990032f3c5a866e72615cf67e5ce22186dcb97",
5858
# Replace the commit hash (above) with the latest (https://github.com/hedronvision/bazel-compile-commands-extractor/commits/main).
5959
# Even better, set up Renovate and let it do the work for you (see "Suggestion: Updates" in the README).
6060
)
6161
```
6262

6363
#### If you're using the traditional WORKSPACE system
6464

65-
Copy this into your Bazel `WORKSPACE` file, making sure to update to the [latest commit](https://github.com/hedronvision/bazel-compile-commands-extractor/commits/main) per the instructions below.
65+
Copy this into the top of your Bazel `WORKSPACE` file, making sure to update to the [latest commit](https://github.com/hedronvision/bazel-compile-commands-extractor/commits/main) per the instructions below. Putting it at the top will prevent other tools from clobbering any of its dependencies with old versions; we promise to keep ours dependency versions up-to-date.
6666

6767
```Starlark
6868
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
@@ -73,10 +73,10 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
7373
http_archive(
7474
name = "hedron_compile_commands",
7575

76-
# Replace the commit hash (9335ff4470f3e9238e3aa81aff4b72c528e16c38) in both places (below) with the latest (https://github.com/hedronvision/bazel-compile-commands-extractor/commits/main), rather than using the stale one here.
76+
# Replace the commit hash (0e990032f3c5a866e72615cf67e5ce22186dcb97) in both places (below) with the latest (https://github.com/hedronvision/bazel-compile-commands-extractor/commits/main), rather than using the stale one here.
7777
# Even better, set up Renovate and let it do the work for you (see "Suggestion: Updates" in the README).
78-
url = "https://github.com/hedronvision/bazel-compile-commands-extractor/archive/9335ff4470f3e9238e3aa81aff4b72c528e16c38.tar.gz",
79-
strip_prefix = "bazel-compile-commands-extractor-9335ff4470f3e9238e3aa81aff4b72c528e16c38",
78+
url = "https://github.com/hedronvision/bazel-compile-commands-extractor/archive/0e990032f3c5a866e72615cf67e5ce22186dcb97.tar.gz",
79+
strip_prefix = "bazel-compile-commands-extractor-0e990032f3c5a866e72615cf67e5ce22186dcb97",
8080
# When you first run this tool, it'll recommend a sha256 hash to put here with a message like: "DEBUG: Rule 'hedron_compile_commands' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = ..."
8181
)
8282
load("@hedron_compile_commands//:workspace_setup.bzl", "hedron_compile_commands_setup")

0 commit comments

Comments
 (0)