2020-01-02 23:21:13 +03:00
|
|
|
# Copyright (c) 2020 The DAML Authors. All rights reserved.
|
2019-04-04 11:33:38 +03:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2019-04-12 14:10:16 +03:00
|
|
|
load("//bazel_tools:haskell.bzl", "da_haskell_binary")
|
2019-12-04 15:04:15 +03:00
|
|
|
load("util.bzl", "sdk_tarball")
|
2019-04-04 11:33:38 +03:00
|
|
|
|
|
|
|
da_haskell_binary(
|
|
|
|
name = "release",
|
|
|
|
srcs = glob(["src/**/*.hs"]),
|
2019-09-06 12:01:09 +03:00
|
|
|
hackage_deps = [
|
2019-04-12 15:57:37 +03:00
|
|
|
"aeson",
|
2019-06-17 16:37:49 +03:00
|
|
|
"async",
|
2019-04-04 11:33:38 +03:00
|
|
|
"ansi-terminal",
|
|
|
|
"base",
|
2019-06-17 16:37:49 +03:00
|
|
|
"base64-bytestring",
|
2019-04-04 11:33:38 +03:00
|
|
|
"bytestring",
|
|
|
|
"conduit",
|
|
|
|
"conduit-extra",
|
|
|
|
"containers",
|
2019-06-17 16:37:49 +03:00
|
|
|
"connection",
|
|
|
|
"cryptohash",
|
2019-04-04 11:33:38 +03:00
|
|
|
"directory",
|
|
|
|
"exceptions",
|
2019-04-12 15:57:37 +03:00
|
|
|
"extra",
|
2019-04-04 11:33:38 +03:00
|
|
|
"fast-logger",
|
|
|
|
"filepath",
|
2019-06-17 16:37:49 +03:00
|
|
|
"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",
|
2019-04-12 15:57:37 +03:00
|
|
|
"process",
|
2019-06-17 16:37:49 +03:00
|
|
|
"retry",
|
2019-04-04 11:33:38 +03:00
|
|
|
"safe",
|
|
|
|
"safe-exceptions",
|
2019-06-17 16:37:49 +03:00
|
|
|
"time",
|
2019-04-04 11:33:38 +03:00
|
|
|
"text",
|
2019-06-17 16:37:49 +03:00
|
|
|
"temporary",
|
2019-04-04 11:33:38 +03:00
|
|
|
"transformers",
|
|
|
|
"unliftio-core",
|
|
|
|
"unordered-containers",
|
|
|
|
"yaml",
|
|
|
|
"mtl",
|
2019-04-11 12:24:52 +03:00
|
|
|
"xml-conduit",
|
2019-04-04 11:33:38 +03:00
|
|
|
],
|
2019-04-12 14:10:16 +03:00
|
|
|
src_strip_prefix = "src",
|
2019-04-04 11:33:38 +03:00
|
|
|
visibility = ["//visibility:public"],
|
2019-04-12 14:10:16 +03:00
|
|
|
deps = [],
|
2019-04-04 11:33:38 +03:00
|
|
|
)
|
|
|
|
|
2019-12-04 15:04:15 +03:00
|
|
|
sdk_tarball("sdk-release-tarball", "//:VERSION")
|
2019-04-04 11:33:38 +03:00
|
|
|
|
2019-12-04 15:04:15 +03:00
|
|
|
sdk_tarball("sdk-head-tarball", ":HEAD-VERSION")
|