mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-04 00:36:58 +03:00
aa70c7f64e
* 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.
22 lines
523 B
Python
22 lines
523 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_binary")
|
|
|
|
da_haskell_binary(
|
|
name = "notices-gen",
|
|
srcs = glob(["src/**/*.hs"]),
|
|
hazel_deps = [
|
|
"base",
|
|
"bytestring",
|
|
"http-conduit",
|
|
"utf8-string",
|
|
"Cabal",
|
|
"process",
|
|
"xml",
|
|
],
|
|
src_strip_prefix = "src",
|
|
visibility = ["//visibility:public"],
|
|
deps = [],
|
|
)
|