Bartleby 0.1.0
A symbol renaming toolkit
Loading...
Searching...
No Matches
bazel/WORKSPACE.bazel

This is an example of how to import Bartleby in a Bazel repository.

1load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
2
3_COMMIT = "01f9b7dd86cf415b5591deff4ba759345cc0af36"
4
5_SHA256 = "efaa650c4c96ee671a73406fe9a625783e8ec404b7e4bdbf49a3e36b440754f0"
6
7http_archive(
8 name = "com_sandboxquantum_bartleby",
9 sha256 = _SHA256,
10 strip_prefix = "bartleby-{commit}".format(commit = _COMMIT),
11 urls = ["https://github.com/sandbox-quantum/bartleby/archive/{commit}.tar.gz".format(commit = _COMMIT)],
12)
13
14# Loads bartleby external repositories.
15load("@com_sandboxquantum_bartleby//bartleby:repositories.bzl", "bartleby_repositories")
16
17bartleby_repositories()
18
19# Loads an initializes bartleby dependencies.
20load("@com_sandboxquantum_bartleby//bartleby:deps.bzl", "bartleby_deps")
21
22bartleby_deps()