generated from bzlparty/rules-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
55 lines (50 loc) · 1.1 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
51
52
53
54
55
load("@rules_license//rules:license.bzl", "license")
load("//lib:defs.bzl", "formatter", "formatter_test")
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",
"biome.json",
])
#ifndef _BZLPARTY_RELEASE_
formatter(
name = "format",
config = ":formatter.json",
mode = "fix",
tools = {
"@biome": "biome",
"@buildifier_prebuilt//:buildifier": "buildifier",
"@go_default_sdk//:bin/gofmt": "gofmt",
},
)
formatter_test(
name = "check",
config = ":formatter.json",
exclude = [
"vendor/",
],
mode = "check",
tags = [
"external",
"no-cache",
"no-sandbox",
],
tools = {
"@biome": "biome",
"@shellcheck": "shellcheck",
"@typos": "typos",
"@buildifier_prebuilt//:buildifier": "buildifier",
},
)
#endif