daml/libs-haskell/bazel-runfiles/BUILD.bazel
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

19 lines
486 B
Python

# Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
load("//bazel_tools:haskell.bzl", "da_haskell_library")
da_haskell_library(
name = "bazel-runfiles",
srcs = glob(["src/DA/Bazel/Runfiles.hs"]),
hazel_deps = [
"base",
"directory",
"filepath",
"transformers",
],
src_strip_prefix = "src",
visibility = ["//visibility:public"],
deps = [],
)