From a28db3325a19d480f09ae7bbd9fb2058095c50a6 Mon Sep 17 00:00:00 2001 From: Jean-Hadrien Chabran Date: Tue, 27 Jun 2023 17:08:17 +0200 Subject: [PATCH] bzl: add http_archive to bazel-example (#599) --- examples/bazel-example/WORKSPACE | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/examples/bazel-example/WORKSPACE b/examples/bazel-example/WORKSPACE index 07505025..f2b84534 100644 --- a/examples/bazel-example/WORKSPACE +++ b/examples/bazel-example/WORKSPACE @@ -22,7 +22,15 @@ local_repository( name = "scip_java", path = "../.." ) -# TODO: add commented out `http_archive` example once this workspace file is available on GitHub. + +# Copy and paste this, not the local_repository: +# +# SCIP_JAVA_VERSION="0.8.20" +# http_archive( +# name = "scip_java", +# url = "https://github.com/sourcegraph/scip-java/archive/refs/tags/v{}.zip".format(SCIP_JAVA_VERSION), +# strip_prefix = "scip-java-{}".format(SCIP_JAVA_VERSION), +# ) ########## # Protobuf