diff options
author | Daniil Baturin <daniil@vyos.io> | 2025-04-01 15:39:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-01 15:39:44 +0100 |
commit | aedecf6fa96509ef59fd2e1f607a8a13c18d214b (patch) | |
tree | 610d48220e115555d1770f9d7631999b3101bd80 /src/dune | |
parent | 920b75a6dbf9eac4b94600b759818b2ec28004ae (diff) | |
parent | ab010dbe993afc990fafa4525e1a94670ca7f5a4 (diff) | |
download | vyconf-aedecf6fa96509ef59fd2e1f607a8a13c18d214b.tar.gz vyconf-aedecf6fa96509ef59fd2e1f607a8a13c18d214b.zip |
Merge pull request #17 from jestabro/commit-post
T7272: update vyconf config tree on results from commitd
Diffstat (limited to 'src/dune')
-rw-r--r-- | src/dune | 48 |
1 files changed, 20 insertions, 28 deletions
@@ -4,23 +4,8 @@ (name vyconf_connect) (public_name vyconf.vyconf-connect) (modules vyconf_pbt message) - (libraries lwt lwt.unix lwt_log lwt_ppx ocaml-protoc fileutils ppx_deriving_yojson) - (preprocess (pps lwt_ppx ppx_deriving_yojson))) - -(library - (name vyconfd_config) - (public_name vyconf.vyconfd-config) - (modules vyconf_config startup session directories defaults commit) - (libraries vyos1x-config vyconf_connect toml sha ppx_deriving.show) - (preprocess (pps lwt_ppx ppx_deriving.show ppx_deriving_yojson))) - -(library - (name client) - (public_name vyconf.vyconf-client) - (modules vyconf_client vyconf_client_session) - (libraries vyos1x-config vyconf_connect lwt lwt.unix lwt_log lwt_ppx ocaml-protoc toml sha - yojson ppx_deriving.show ppx_deriving_yojson) - (preprocess (pps lwt_ppx ppx_deriving.show ppx_deriving_yojson))) + (libraries lwt lwt.unix lwt_log lwt_ppx ocaml-protoc ocplib-endian) + (preprocess (pps lwt_ppx))) (library (name vycall_message) @@ -31,8 +16,22 @@ (library (name commitd_client) (public_name vyconf.vycall-client) - (modules vycall_client) - (libraries vyos1x-config vyconfd_config vycall_message lwt lwt.unix lwt_log lwt_ppx ocplib-endian) + (modules vycall_client commit) + (libraries vyos1x-config vycall_message lwt lwt.unix lwt_log lwt_ppx ocplib-endian) + (preprocess (pps lwt_ppx))) + +(library + (name vyconfd_config) + (public_name vyconf.vyconfd-config) + (modules vyconf_config startup session directories defaults) + (libraries vyos1x-config vyconf_connect commitd_client toml sha ppx_deriving.show yojson ppx_deriving_yojson) + (preprocess (pps lwt_ppx ppx_deriving.show ppx_deriving_yojson))) + +(library + (name vyconfd_client) + (public_name vyconf.vyconf-client) + (modules vyconf_client vyconf_client_session) + (libraries vyos1x-config vyconf_connect lwt lwt.unix lwt_log lwt_ppx) (preprocess (pps lwt_ppx))) (executable @@ -46,21 +45,14 @@ (name vycli) (public_name vycli) (modules vycli) - (libraries client) + (libraries vyconfd_client) (preprocess (pps lwt_ppx))) (executable (name validate) (public_name validate) (modules validate) - (libraries client)) - -(executable - (name test_commit_data) - (public_name test-commit-data) - (modules test_commit_data) - (libraries vyos1x-config vyconfd_config) - (preprocess (pps lwt_ppx))) + (libraries vyconfd_client)) (rule (mode promote) |