-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
50 lines (45 loc) · 1.01 KB
/
BUILD.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
load("@bzlparty_tools//lib:defs.bzl", "formatter", "formatter_test")
load("@rules_license//rules:license.bzl", "license")
package(
default_applicable_licenses = [":license"],
default_visibility = ["//visibility:public"],
)
license(
name = "license",
license_kinds = [
"@rules_license//licenses/spdx:LGPL-3.0-or-later",
],
license_text = "LICENSE",
)
exports_files([
"LICENSE",
"MODULE.bazel",
"extensions.bzl",
])
#ifndef _BZLPARTY_RELEASE_
formatter(
name = "format",
config = ":formatter.json",
mode = "fix",
tools = {
"@biome": "biome",
"@buildifier_prebuilt//:buildifier": "buildifier",
},
)
formatter_test(
name = "check",
config = ":formatter.json",
mode = "check",
tags = [
"external",
"no-cache",
"no-sandbox",
],
tools = {
"@biome": "biome",
"@shellcheck": "shellcheck",
"@typos": "typos",
"@buildifier_prebuilt//:buildifier": "buildifier",
},
)
#endif