mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
a925f0174c
* update copyright notices for 2021 To be merged on 2021-01-01. CHANGELOG_BEGIN CHANGELOG_END * patch-bazel-windows & da-ghc-lib
42 lines
1.1 KiB
Python
42 lines
1.1 KiB
Python
# Copyright (c) 2021 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
load(
|
|
"//bazel_tools:scala.bzl",
|
|
"da_scala_library",
|
|
"da_scala_test",
|
|
"lf_scalacopts",
|
|
)
|
|
load("@scala_version//:index.bzl", "scala_version_suffix")
|
|
|
|
da_scala_library(
|
|
name = "scalatest-utils",
|
|
srcs = glob(["src/main/**/*.scala"]),
|
|
plugins = [
|
|
"@maven//:org_typelevel_kind_projector_{}".format(scala_version_suffix),
|
|
],
|
|
scala_deps = [
|
|
"@maven//:org_scalacheck_scalacheck",
|
|
"@maven//:org_scalactic_scalactic",
|
|
"@maven//:org_scalatest_scalatest",
|
|
"@maven//:org_scalatestplus_scalacheck_1_14",
|
|
"@maven//:org_scalaz_scalaz_core",
|
|
],
|
|
scalacopts = lf_scalacopts,
|
|
tags = ["maven_coordinates=com.daml:scalatest-utils:__VERSION__"],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
da_scala_test(
|
|
name = "test",
|
|
size = "small",
|
|
srcs = glob(["src/test/**/*.scala"]),
|
|
scala_deps = [
|
|
"@maven//:org_scalaz_scalaz_core",
|
|
],
|
|
scalacopts = lf_scalacopts,
|
|
deps = [
|
|
":scalatest-utils",
|
|
],
|
|
)
|