daml/libs-haskell
gleber aa70c7f64e
Enforce consistent formatting of BUILD files. (#412)
* Add buildifier targets.

The tool allows to check and format BUILD files in the repo.

To check if files are well formatted, run:

    bazel run //:buildifier

To fix badly-formatted files run:

    bazel run //:buildifier-fix

* Cleanup dade-copyright-headers formatting.

* Fix dade-copyright-headers on files with just the copyright.

* Run buildifier automatically on CI via 'fmt.sh'.

* Reformat all BUILD files with buildifier.

Excludes autogenerated Bazel files.
2019-04-12 13:10:16 +02:00
..
bazel-runfiles Enforce consistent formatting of BUILD files. (#412) 2019-04-12 13:10:16 +02:00
da-hs-base Enforce consistent formatting of BUILD files. (#412) 2019-04-12 13:10:16 +02:00
da-hs-json-rpc Enforce consistent formatting of BUILD files. (#412) 2019-04-12 13:10:16 +02:00
da-hs-language-server Enforce consistent formatting of BUILD files. (#412) 2019-04-12 13:10:16 +02:00
da-hs-pretty Enforce consistent formatting of BUILD files. (#412) 2019-04-12 13:10:16 +02:00
prettyprinter-syntax Enforce consistent formatting of BUILD files. (#412) 2019-04-12 13:10:16 +02:00