daml/daml-script
Andreas Herrmann 7df9758c2f
Daml export: make paths relative to daml.yaml (#10388)
Previously data-dependencies in the generated daml.yaml file had a path
including the output-dir path itself. E.g.

```
data-dependencies:
- /some/out/path/deps/some.dalf
```

This worked fine so long as the output path was absolute. However, if
the output path is a relative path, then it might lead to "no such file"
errors during daml build.

This change always makes the generated data-dependencies paths relative
to the daml.yaml file.

changelog_begin
- [Daml export] The generated paths to data-dependencies DALFs are now
  relative to the generated daml.yaml. Fixes
  https://github.com/digital-asset/daml/issues/10378.
changelog_end

Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io>
2021-07-23 09:53:35 +00:00
..
converter Upgrade scalafmt and enable trailing commas (#8437) 2021-01-09 11:37:37 +01:00
daml Fix variable name (#9927) 2021-06-08 19:15:07 +02:00
export Daml export: make paths relative to daml.yaml (#10388) 2021-07-23 09:53:35 +00:00
runner Remove optLocation field from transaction nodes. (#10301) 2021-07-19 13:03:30 +00:00
test [JSON-API] Include the logging context in the ledger client for consistent logging (#10332) 2021-07-21 10:05:45 +02:00