mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
29 lines
851 B
Python
29 lines
851 B
Python
|
# Copyright (c) 2020 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",
|
||
|
)
|
||
|
|
||
|
script_scalacopts = ["-P:wartremover:traverser:org.wartremover.warts.%s" % wart for wart in [
|
||
|
"NonUnitStatements",
|
||
|
]]
|
||
|
|
||
|
da_scala_library(
|
||
|
name = "converter",
|
||
|
srcs = glob(["src/main/scala/**/*.scala"]),
|
||
|
scalacopts = script_scalacopts,
|
||
|
tags = ["maven_coordinates=com.daml:script-converter:__VERSION__"],
|
||
|
visibility = ["//visibility:public"],
|
||
|
deps = [
|
||
|
"//daml-lf/data",
|
||
|
"//daml-lf/interpreter",
|
||
|
"//daml-lf/language",
|
||
|
"//daml-lf/transaction",
|
||
|
"//language-support/scala/bindings",
|
||
|
"//language-support/scala/bindings-akka",
|
||
|
"@maven//:org_scalaz_scalaz_core_2_12",
|
||
|
],
|
||
|
)
|