mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-19 16:57:40 +03:00
0c7791bc1c
The change in #8191 to publish daml on sql docs failed because the versions.json and snapshots.json files don’t exist initially. This PR fixes that by catching the exception and treating it as an empty file. changelog_begin changelog_end
40 lines
920 B
Python
40 lines
920 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:haskell.bzl", "da_haskell_binary")
|
|
|
|
da_haskell_binary(
|
|
name = "cron",
|
|
srcs = glob(["src/**/*.hs"]),
|
|
hackage_deps = [
|
|
"aeson",
|
|
"async",
|
|
"base",
|
|
"bytestring",
|
|
"case-insensitive",
|
|
"containers",
|
|
"directory",
|
|
"extra",
|
|
"filepath",
|
|
"http-client",
|
|
"http-client-tls",
|
|
"http-types",
|
|
"monad-loops",
|
|
"network-uri",
|
|
"optparse-applicative",
|
|
"process",
|
|
"regex-tdfa",
|
|
"safe",
|
|
"safe-exceptions",
|
|
"semver",
|
|
"split",
|
|
"text",
|
|
"unordered-containers",
|
|
"utf8-string",
|
|
"vector",
|
|
],
|
|
src_strip_prefix = "src",
|
|
visibility = ["//visibility:public"],
|
|
deps = [],
|
|
)
|