mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-24 14:22:14 -05:00
build: convert buildifier check to bazel test
This commit is contained in:
parent
311c9b2c8b
commit
a722f911b7
@ -1,6 +1,6 @@
|
||||
load("@bazel_gazelle//:def.bzl", "gazelle")
|
||||
load("@bazeldnf//:def.bzl", "bazeldnf")
|
||||
load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier")
|
||||
load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier", "buildifier_test")
|
||||
|
||||
# gazelle:prefix github.com/edgelesssys/constellation
|
||||
gazelle(name = "gazelle")
|
||||
@ -17,12 +17,14 @@ gazelle(
|
||||
|
||||
bazeldnf(name = "bazeldnf")
|
||||
|
||||
buildifier(
|
||||
buildifier_test(
|
||||
name = "buildifier-check",
|
||||
lint_mode = "warn",
|
||||
lint_warnings = ["all"],
|
||||
mode = "check",
|
||||
mode = "diff",
|
||||
no_sandbox = True,
|
||||
verbose = True,
|
||||
workspace = "WORKSPACE.bazel",
|
||||
)
|
||||
|
||||
buildifier(
|
||||
|
Loading…
Reference in New Issue
Block a user