8000 bzl: add http_archive to bazel-example (#599) · Arthurm1/scip-java@a28db33 · GitHub
[go: up one dir, main page]

Skip to content

Commit a28db33

Browse files
authored
bzl: add http_archive to bazel-example (sourcegraph#599)
1 parent 145e4cd commit a28db33

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

examples/bazel-example/WORKSPACE

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,15 @@ local_repository(
2222
name = "scip_java",
2323
path = "../.."
2424
)
25-
# TODO: add commented out `http_archive` example once this workspace file is available on GitHub.
25+
26+
# Copy and paste this, not the local_repository:
27+
#
28+
# SCIP_JAVA_VERSION="0.8.20"
29+
# http_archive(
30+
# name = "scip_java",
31+
# url = "https://github.com/sourcegraph/scip-java/archive/refs/tags/v{}.zip".format(SCIP_JAVA_VERSION),
32+
# strip_prefix = "scip-java-{}".format(SCIP_JAVA_VERSION),
33+
# )
2634

2735
##########
2836
# Protobuf

0 commit comments

Comments
 (0)
0