diff options
author | Jon Parise <jon@indelible.org> | 2021-02-21 04:35:26 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-21 21:35:26 +0900 |
commit | 90b9597d500c528d46aa13ccfa678a86ef7ea22b (patch) | |
tree | 2f94224a548ac63f66860eddc7fa4f6f099923aa /test/command_callback | |
parent | 2550f5d952caea4ac607ec0796d8f1fae4d7b9a5 (diff) | |
download | ale-90b9597d500c528d46aa13ccfa678a86ef7ea22b.zip |
Add a buildifier fixer for Bazel files (#3499)
This fixer enables buildifier's formatting and "lint fix" modes.
Additional options can be provided via `bazel_buildifier_options`.
It also implements some basic logic for guessing the file's type.
buildifier itself usually does this based on the filenames provided on
the command line, but because we're piping our buffer via stdin, we need
to do this manually.
Diffstat (limited to 'test/command_callback')
-rw-r--r-- | test/command_callback/bazel_paths/BUILD | 0 | ||||
-rw-r--r-- | test/command_callback/bazel_paths/WORKSPACE | 0 | ||||
-rw-r--r-- | test/command_callback/bazel_paths/defs.bzl | 0 |
3 files changed, 0 insertions, 0 deletions
diff --git a/test/command_callback/bazel_paths/BUILD b/test/command_callback/bazel_paths/BUILD new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/test/command_callback/bazel_paths/BUILD diff --git a/test/command_callback/bazel_paths/WORKSPACE b/test/command_callback/bazel_paths/WORKSPACE new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/test/command_callback/bazel_paths/WORKSPACE diff --git a/test/command_callback/bazel_paths/defs.bzl b/test/command_callback/bazel_paths/defs.bzl new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/test/command_callback/bazel_paths/defs.bzl |