Skip to content
CCPEDIAby Unity Nodes
App Development

Bazel build rules `daml()` and `daml_binary()` documented but not implemented?

5 posts157 views2 likesLast activity Feb 2022

  1. meschOP 1

    There is documentation about bazel build rules daml() and daml_binary() here: BAZEL.md#daml-packages and here: BAZEL.md#daml-executables.

    The documentation mentions //rules_daml:daml.bzl as the implementation, however that file //rules_daml:daml.bzl doesn’t contain definitions of said bazel build rules.

    Do these rules exist anywhere else?

    Thanks a lot,
    mesch.

  2. cocreature 1

    Hi @mesch, the documentation here is a bit out of date. You probably want daml_compile or daml_build_test instead. Keep in mind though that these rules are not written for external consumption and only intended for use within the daml repo.

  3. mesch

    Thanks a lot!

    To use the daml SDK in my own bazel build, is there a recommended way to do that?

  4. cocreature

    Unfortunately, we do not provide examples or recommendations for now. You’ll have to write your own rulesets.

  5. mesch

    Good to know, we can do that. Thanks again!