summaryrefslogtreecommitdiff
path: root/src/dune
diff options
context:
space:
mode:
Diffstat (limited to 'src/dune')
-rw-r--r--src/dune37
1 files changed, 15 insertions, 22 deletions
diff --git a/src/dune b/src/dune
index c9a6eb6..63e1167 100644
--- a/src/dune
+++ b/src/dune
@@ -8,10 +8,23 @@
(preprocess (pps lwt_ppx)))
(library
+ (name vycall_message)
+ (public_name vyconf.vycall-message)
+ (modules vycall_pbt)
+ (libraries ocaml-protoc))
+
+(library
+ (name commitd_client)
+ (public_name vyconf.vycall-client)
+ (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 commit)
- (libraries vyos1x-config vyconf_connect toml sha ppx_deriving.show yojson ppx_deriving_yojson)
+ (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
@@ -21,19 +34,6 @@
(libraries vyos1x-config vyconf_connect lwt lwt.unix lwt_log lwt_ppx)
(preprocess (pps lwt_ppx)))
-(library
- (name vycall_message)
- (public_name vyconf.vycall-message)
- (modules vycall_pbt)
- (libraries ocaml-protoc))
-
-(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)
- (preprocess (pps lwt_ppx)))
-
(executable
(name vyconfd)
(public_name vyconfd)
@@ -54,13 +54,6 @@
(modules validate)
(libraries vyconfd_client))
-(executable
- (name test_commit_data)
- (public_name test-commit-data)
- (modules test_commit_data)
- (libraries vyos1x-config vyconfd_config)
- (preprocess (pps lwt_ppx)))
-
(rule
(mode promote)
(targets vyconf_pbt.ml vyconf_pbt.mli)