forked from sorbet/sorbet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
92 lines (67 loc) · 2.67 KB
/
WORKSPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
workspace(name = "com_stripe_ruby_typer")
load("//third_party:externals.bzl", "register_sorbet_dependencies")
register_sorbet_dependencies()
load("@com_grail_bazel_toolchain//toolchain:rules.bzl", "llvm_toolchain")
llvm_toolchain(
name = "llvm_toolchain",
absolute_paths = True,
llvm_mirror_prefixes = [
"https://sorbet-deps.s3-us-west-2.amazonaws.com/",
"https://artifactory-content.stripe.build/artifactory/github-archives/llvm/llvm-project/releases/download/llvmorg-",
"https://github.com/llvm/llvm-project/releases/download/llvmorg-",
],
llvm_version = "9.0.0",
)
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains()
load("@rules_ragel//ragel:ragel.bzl", "ragel_register_toolchains")
ragel_register_toolchains()
load("@rules_m4//m4:m4.bzl", "m4_register_toolchains")
m4_register_toolchains()
load("@rules_bison//bison:bison.bzl", "bison_register_toolchains")
bison_register_toolchains()
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
load("//third_party/gems:rules.bzl", "gemfile_lock_deps")
gemfile_lock_deps(
name = "gems",
# TODO: figure out how to discover these labels during the loading phase,
# rather that listing them out explicitly. `glob` doesn't work here, so
# we'll need to do something special within the `gemfile_lock_deps`
# repository rule.
gemfile_locks = [
"//gems/sorbet/test/snapshot:{}/src/Gemfile.lock".format(test)
for test in [
"partial/bad-hash",
"partial/bad-t",
"partial/codecov",
"partial/create-config",
"partial/explosive-object",
"partial/fake-object",
"partial/fake-rails",
"partial/local_gem",
"partial/non-utf-8-file",
"partial/rails6",
"partial/rails-double-require",
"partial/real_singleton_class",
"partial/rspec-lots",
"partial/stack_master",
"partial/stupidedi",
"partial/typed-ignore",
"partial/webmock",
"total/empty",
"total/sorbet-runtime",
]
],
)
load("@io_bazel_rules_rust//rust:repositories.bzl", "rust_repositories")
rust_repositories(
edition = "2018",
version = "1.46.0",
)
load("@io_bazel_rules_rust//:workspace.bzl", "bazel_version")
bazel_version(name = "bazel_version")
BAZEL_VERSION = "3.4.1"
BAZEL_INSTALLER_VERSION_linux_SHA = "9808adad931ac652e8ff5022a74507c532250c2091d21d6aebc7064573669cc5"
BAZEL_INSTALLER_VERSION_darwin_SHA = "b168b9c4186916cd07922b1155bca14eecc812729669f1fdbab141f3f4eee2a0"