daml/bazel_tools/client_server
Andreas Herrmann 10177d239e
Add golden test for example Daml ledger export (#9732)
* client_server_build - user defined outputs

Let the user define a list of output files on client_server_build.

changelog_begin
changelog_end

* daml-script runner expose main(config)

changelog_begin
changelog_end

* Add an example Daml ledger export to the docs

* Build Daml ledger export

changelog_begin
changelog_end

* sh_inline_test

Support toolchain arguments to sh_inline_test. Usefuly for make variable
expansion, e.g. for the POSIX toolchain.

* Add a golden test for Daml ledger export

* Test args files as well

* Use sed from POSIX toolchain

* Add normalization comment to top-level comment

* Ignore trailing CR on Windows

The JSON formatting of the args file uses Windows line endings on
Windows. Therefore, the args.json output technically differs from the
expected output. We're happy to ignore the difference in CRLF here.

Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io>
2021-05-19 12:02:14 +00:00
..
runner Fix client_server_build/test with port file (#9701) 2021-05-17 11:36:25 +00:00
runner_with_port_check update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
tests Add golden test for example Daml ledger export (#9732) 2021-05-19 12:02:14 +00:00
BUILD.bazel update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
client_server_build.bzl Add golden test for example Daml ledger export (#9732) 2021-05-19 12:02:14 +00:00
client_server_test.bzl update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00