Bazel build rules `daml()` and `daml_binary()` documented but not implemented?
- meschOP 1
There is documentation about bazel build rules
daml()anddaml_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.bzldoesn’t contain definitions of said bazel build rules.Do these rules exist anywhere else?
Thanks a lot,
mesch. - cocreature 1
Hi @mesch, the documentation here is a bit out of date. You probably want
daml_compileordaml_build_testinstead. Keep in mind though that these rules are not written for external consumption and only intended for use within thedamlrepo. - mesch
Thanks a lot!
To use the daml SDK in my own bazel build, is there a recommended way to do that?
- cocreature
Unfortunately, we do not provide examples or recommendations for now. You’ll have to write your own rulesets.
- mesch
Good to know, we can do that. Thanks again!