mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
4794454a70
* Rename //bazel_tools:match-{cabal=>golden}-file * Generate and check hash file for contents of //compiler/damlc/tests:platform-independence.dar * Add pre-commit hook to test //compiler/damlc/tests:platform-independence-dar-hash-file-matches * Print info when //bazel_tools:match-golden-file fails * platform-independence-dar-check pre-commit hook runs depending on env var * Skip platform-independence-check if RUN_PLATFORM_INDEPENDENCE_CHECK is unset * Document dar_hash_file rules * move platform-independence-checks warning to .envrc * implement generate_dar_hash_file genrule in python in particular, this allows us to produce the same output on all platforms * fix windows * Update rules_daml/daml.bzl * bytes.replace does not operate in place
15 lines
395 B
Python
15 lines
395 B
Python
# Copyright (c) 2023 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Export Bazel sources for Bazel API docs.
|
|
exports_files(
|
|
["daml.bzl"],
|
|
visibility = ["//bazel_tools/docs:__pkg__"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "generate-dar-hash",
|
|
srcs = glob(["generate-dar-hash.py"]),
|
|
visibility = ["//visibility:public"],
|
|
)
|