Can you double-check me? When I do this…
daml new myapp
cd myapp
mkdir daml/app
mkdir daml/test
mv daml/Main.daml daml/app/Main.daml
echo "module MainTest where" > daml/test/MainTest.daml
- Edit the daml.yaml file to match the below, with
source:
set todaml/app
and the addition of abuild-options:
flag fordaml/test
. daml build
daml damlc inspect-dar .daml/dist/myapp-0.0.1.dar
sdk-version: 2.5.3
name: myapp
source: daml/app
# init-script: Main:setup
version: 0.0.1
dependencies:
- daml-prim
- daml-stdlib
- daml-script
build-options:
- --include=daml/test
… I expected the dar file to include the MainTest
module. It does not. I’m not seeing that the --include=daml/test
makes a difference.
Am I do something wrong?