2023-01-04 20:21:15 +03:00
|
|
|
# Copyright (c) 2023 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
2019-04-04 11:33:38 +03:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-01-25 20:13:51 +03:00
|
|
|
load("@os_info//:os_info.bzl", "is_windows")
|
2020-08-05 17:27:14 +03:00
|
|
|
|
|
|
|
sh_binary(
|
|
|
|
name = "package-app",
|
|
|
|
srcs = ["package-app.sh"],
|
|
|
|
data = [
|
2021-01-25 20:13:51 +03:00
|
|
|
"@gzip_dev_env//:gzip",
|
|
|
|
"@tar_dev_env//:tar",
|
|
|
|
"//bazel_tools/sh:mktgz",
|
|
|
|
] + (["@patchelf_nix//:bin/patchelf"] if not is_windows else []),
|
2020-08-05 17:27:14 +03:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = ["@bazel_tools//tools/bash/runfiles"],
|
|
|
|
)
|