mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 17:28:46 +03:00
beb8a2a9ba
Unfortunately missing the actual interesting part since porting `partitionBimap` seems to be rather annoying but this at least gets us started on the easy parts. changelog_begin changelog_end
39 lines
1002 B
Python
39 lines
1002 B
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_suite",
|
|
"lf_scalacopts",
|
|
)
|
|
|
|
da_scala_library(
|
|
name = "utils",
|
|
srcs = glob(["src/main/scala/**/*.scala"]),
|
|
scala_deps = [
|
|
"@maven//:org_scalaz_scalaz_core",
|
|
],
|
|
scalacopts = lf_scalacopts,
|
|
tags = ["maven_coordinates=com.daml:http-json-utils:__VERSION__"],
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//daml-lf/archive:daml_lf_archive_reader",
|
|
"//daml-lf/archive:daml_lf_dev_archive_proto_java",
|
|
"//daml-lf/data",
|
|
"//daml-lf/interface",
|
|
"//daml-lf/language",
|
|
"//language-support/scala/bindings-akka",
|
|
],
|
|
)
|
|
|
|
da_scala_test_suite(
|
|
name = "tests",
|
|
size = "small",
|
|
srcs = glob(["src/test/scala/**/*.scala"]),
|
|
scalacopts = lf_scalacopts,
|
|
deps = [
|
|
":utils",
|
|
],
|
|
)
|