aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com
diff options
context:
space:
mode:
authorFabian Meumertzheim <meumertzheim@code-intelligence.com>2023-03-30 13:31:20 +0200
committerFabian Meumertzheim <fabian@meumertzhe.im>2023-04-12 12:08:48 +0200
commit76f9389086c3036b191ca36479c42c9404a450fd (patch)
tree8522aa49f0a7217662f200a21a1d01fe24d07ff4 /src/test/java/com
parent83e9f42ea3ee84d44d59c0a1fba2fcfda43509be (diff)
downloadjazzer-api-76f9389086c3036b191ca36479c42c9404a450fd.tar.gz
bazel: Run ktlint with Bazel
Regular Bazel tests now verify that there are no ktlint findings and `./format.sh` only formats those files that need fixing. This speeds up format script runs.
Diffstat (limited to 'src/test/java/com')
-rw-r--r--src/test/java/com/code_intelligence/jazzer/instrumentor/BUILD.bazel4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/java/com/code_intelligence/jazzer/instrumentor/BUILD.bazel b/src/test/java/com/code_intelligence/jazzer/instrumentor/BUILD.bazel
index 128a757d..4fdad567 100644
--- a/src/test/java/com/code_intelligence/jazzer/instrumentor/BUILD.bazel
+++ b/src/test/java/com/code_intelligence/jazzer/instrumentor/BUILD.bazel
@@ -1,4 +1,4 @@
-load("//bazel:kotlin.bzl", "wrapped_kt_jvm_test")
+load("//bazel:kotlin.bzl", "ktlint", "wrapped_kt_jvm_test")
load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")
kt_jvm_library(
@@ -148,3 +148,5 @@ wrapped_kt_jvm_test(
"@maven//:junit_junit",
],
)
+
+ktlint()