Compile single file with damlc?
- LucianoOP
Is it possible to compile a single file with
daml damlc, rather than the entire project defined indaml.yaml?I want to do this because I’ve made a large refactoring change that prevents many files from compiling.
- Sofia_Faro 2
You can change your
sourceline indaml.yamlto point to a single file, e.g.:source: daml/Main.damlThen
daml buildwill try compiling that file (and any other files it depends on), instead of the whole folder.