mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
878429e3bf
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)
37 lines
878 B
Python
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"],
|
|
)
|