-
Notifications
You must be signed in to change notification settings - Fork 0
/
MODULE.bazel
52 lines (47 loc) · 1.23 KB
/
MODULE.bazel
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
module(
name = "rules_swift_tidy",
version = "0.0.0",
)
bazel_dep(name = "platforms", version = "0.0.6")
bazel_dep(name = "bazel_skylib", version = "1.4.2")
bazel_dep(name = "cgrindel_bazel_starlib", version = "0.18.1")
bazel_dep(
name = "rules_swift",
version = "1.9.0",
repo_name = "build_bazel_rules_swift",
)
swift_tidy_tools = use_extension(
"//swifttidy:extensions.bzl",
"swift_tidy_tools",
)
use_repo(
swift_tidy_tools,
"swift_tidy_prebuilt_toolchains",
"swiftformat_download_linux_x86_64",
"swiftformat_download_macos_arm64",
"swiftformat_download_macos_x86_64",
)
register_toolchains("@swift_tidy_prebuilt_toolchains//:all")
bazel_dep(
name = "gazelle",
version = "0.31.1",
dev_dependency = True,
repo_name = "bazel_gazelle",
)
bazel_dep(
name = "bazel_skylib_gazelle_plugin",
version = "1.4.2",
dev_dependency = True,
)
bazel_dep(
name = "rules_bazel_integration_test",
version = "0.14.1",
dev_dependency = True,
)
bazel_binaries = use_extension(
"@rules_bazel_integration_test//:extensions.bzl",
"bazel_binaries",
dev_dependency = True,
)
bazel_binaries.download(version_file = "//:.bazelversion")
use_repo(bazel_binaries, "bazel_binaries")