Skip to content

Commit

Permalink
bzl: add http_archive to bazel-example (#599)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchabran authored Jun 27, 2023
1 parent 145e4cd commit a28db33
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion examples/bazel-example/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a28db33

Please sign in to comment.