about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_haskell/BUILD.bazel')
-rw-r--r--third_party/bazel/rules_haskell/BUILD.bazel20
1 files changed, 20 insertions, 0 deletions
diff --git a/third_party/bazel/rules_haskell/BUILD.bazel b/third_party/bazel/rules_haskell/BUILD.bazel
new file mode 100644
index 0000000000..66eea20147
--- /dev/null
+++ b/third_party/bazel/rules_haskell/BUILD.bazel
@@ -0,0 +1,20 @@
+load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier")
+
+# Run this to check for errors in BUILD files.
+buildifier(
+    name = "buildifier",
+    exclude_patterns = [
+        "./hazel/packages.bzl",
+    ],
+    mode = "check",
+)
+
+# Run this to fix the errors in BUILD files.
+buildifier(
+    name = "buildifier-fix",
+    exclude_patterns = [
+        "./hazel/packages.bzl",
+    ],
+    mode = "fix",
+    verbose = True,
+)