daml/release/BUILD.bazel

60 lines
1.3 KiB
Python
Raw Normal View History

# Copyright (c) 2020 The DAML Authors. All rights reserved.
2019-04-04 11:33:38 +03:00
# SPDX-License-Identifier: Apache-2.0
load("//bazel_tools:haskell.bzl", "da_haskell_binary")
load("util.bzl", "sdk_tarball")
2019-04-04 11:33:38 +03:00
da_haskell_binary(
name = "release",
srcs = glob(["src/**/*.hs"]),
hackage_deps = [
"aeson",
"async",
2019-04-04 11:33:38 +03:00
"ansi-terminal",
"base",
"base64-bytestring",
2019-04-04 11:33:38 +03:00
"bytestring",
"conduit",
"conduit-extra",
"containers",
"connection",
"cryptohash",
2019-04-04 11:33:38 +03:00
"directory",
"exceptions",
"extra",
2019-04-04 11:33:38 +03:00
"fast-logger",
"filepath",
"http-client",
"http-client-tls",
"http-conduit",
"http-types",
2019-04-04 11:33:38 +03:00
"lifted-async",
"lifted-base",
"monad-control",
"monad-logger",
"optparse-applicative",
"path",
"path-io",
"process",
"retry",
2019-04-04 11:33:38 +03:00
"safe",
"safe-exceptions",
"time",
2019-04-04 11:33:38 +03:00
"text",
"temporary",
2019-04-04 11:33:38 +03:00
"transformers",
"unliftio-core",
"unordered-containers",
"yaml",
"mtl",
"xml-conduit",
2019-04-04 11:33:38 +03:00
],
src_strip_prefix = "src",
2019-04-04 11:33:38 +03:00
visibility = ["//visibility:public"],
deps = [],
2019-04-04 11:33:38 +03:00
)
sdk_tarball("sdk-release-tarball", "//:VERSION")
2019-04-04 11:33:38 +03:00
sdk_tarball("sdk-head-tarball", ":HEAD-VERSION")