Last active
August 14, 2019 12:51
-
-
Save kormat/4c1ccfa2b3bc6c66a4364c7704537da9 to your computer and use it in GitHub Desktop.
bazel query --noshow_progress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Racy: | |
$ bazel query //external:all | grep genproto | |
//external:org_golang_google_genproto | |
Loading: 0 packages loaded | |
$ bazel query //external:all | grep genproto | |
Loading: 0 packages loaded | |
Loading: 0 packages loaded | |
$ bazel query //external:all | grep genproto | |
Loading: 0 packages loaded | |
Loading: 0 packages loaded | |
$ bazel query //external:all | grep genproto | |
//external:org_golang_google_genproto | |
Loading: 0 packages loaded | |
# Reliable: | |
$ bazel query --noshow_progress //external:all | grep genproto | |
//external:org_golang_google_genproto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") | |
git_repository( | |
name = "org_golang_google_genproto", | |
remote = "https://github.com/google/go-genproto", | |
commit = "4f5b463f9597cbe0dd13a6a2cd4f85e788d27508", | |
shallow_since = "1551303189 -0700", | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment