daml/libs-haskell/bazel-runfiles/BUILD.bazel
Gary Verhaegen 878429e3bf
update copyright notices to 2020 (#3939)
copyright update 2020

* update template
* run script: `dade-copyright-headers update .`
* update script
* manual adjustments
* exclude frozen proto files from further header checks (by adding NO_AUTO_COPYRIGHT files)
2020-01-02 21:21:13 +01:00

37 lines
878 B
Python

# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
load("//bazel_tools:haskell.bzl", "da_haskell_library", "da_haskell_test")
da_haskell_library(
name = "bazel-runfiles",
srcs = glob(["src/DA/Bazel/Runfiles.hs"]),
hackage_deps = [
"base",
"directory",
"filepath",
"split",
"transformers",
],
src_strip_prefix = "src",
visibility = ["//visibility:public"],
deps = [
"@rules_haskell//tools/runfiles",
],
)
da_haskell_test(
name = "bazel-runfiles-test",
srcs = glob(["test/DA/Bazel/RunfilesTest.hs"]),
data = glob(["test/resources/**"]),
hackage_deps = [
"base",
"directory",
"filepath",
"tasty",
"tasty-hunit",
],
visibility = ["//visibility:public"],
deps = [":bazel-runfiles"],
)