diff --git a/src/lib_benchmark/dune b/src/lib_benchmark/dune index b4178e1ceac4f4186131a7f27589fcd155f3b8a8..21f20923aad81a176e049251320600b11d04f8c9 100644 --- a/src/lib_benchmark/dune +++ b/src/lib_benchmark/dune @@ -1,17 +1,15 @@ (library (name tezos_benchmark) - (instrumentation (backend bisect_ppx)) (public_name tezos-benchmark) - (libraries tezos-base - tezos-stdlib-unix - tezos-micheline - tezos-clic - data-encoding - prbnmcn-stats - benchmark-utils - pyml-plot ;; because of Matrix module... pyml-plot should be split further - ocaml-migrate-parsetree - ) - (flags (:standard - -open Tezos_base__TzPervasives - -open Tezos_stdlib_unix))) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-base + tezos-stdlib-unix + tezos-micheline + tezos-clic + data-encoding + prbnmcn-stats + benchmark-utils + pyml-plot ;; because of Matrix module... pyml-plot should be split further + ocaml-migrate-parsetree) + (flags (:standard -open Tezos_base__TzPervasives -open Tezos_stdlib_unix))) diff --git a/src/lib_benchmark/example/dune b/src/lib_benchmark/example/dune index 60e8233bd723ca7a1ec13ec6968b200b9745b156..c69008520f5317911c76751cc40025830ec9852c 100644 --- a/src/lib_benchmark/example/dune +++ b/src/lib_benchmark/example/dune @@ -1,9 +1,10 @@ (library (name tezos_benchmark_examples) - (instrumentation (backend bisect_ppx)) (public_name tezos-benchmark-examples) - (libraries tezos-base - tezos-stdlib-unix - tezos-crypto - tezos-benchmark) - (flags (:standard -open Tezos_base__TzPervasives))) \ No newline at end of file + (instrumentation (backend bisect_ppx)) + (libraries + tezos-base + tezos-stdlib-unix + tezos-crypto + tezos-benchmark) + (flags (:standard -open Tezos_base__TzPervasives))) diff --git a/src/lib_benchmark/lib_micheline_rewriting/dune b/src/lib_benchmark/lib_micheline_rewriting/dune index 9141444e991a31450542031939039f4f32c8de87..200b93717c1529c3d9cf8805969add6cd8dfa2cb 100644 --- a/src/lib_benchmark/lib_micheline_rewriting/dune +++ b/src/lib_benchmark/lib_micheline_rewriting/dune @@ -1,15 +1,11 @@ (library (name tezos_micheline_rewriting) - (instrumentation (backend bisect_ppx)) (public_name tezos-micheline-rewriting) + (instrumentation (backend bisect_ppx)) (libraries - ;; External zarith - ;; Internal tezos-stdlib tezos-error-monad - tezos-micheline - ) - (flags (:standard -open Tezos_stdlib - -open Tezos_error_monad - -open Tezos_micheline))) + tezos-micheline) + (flags + (:standard -open Tezos_stdlib -open Tezos_error_monad -open Tezos_micheline))) diff --git a/src/lib_benchmark/lib_micheline_rewriting/test/dune b/src/lib_benchmark/lib_micheline_rewriting/test/dune index fec4555bd25fc6bba35509aa571d4551ba294803..f26d36e74f57338647ffafd6f4651383757814e7 100644 --- a/src/lib_benchmark/lib_micheline_rewriting/test/dune +++ b/src/lib_benchmark/lib_micheline_rewriting/test/dune @@ -1,10 +1,11 @@ -(tests - (names test_rewriting) - (libraries tezos-micheline - tezos-micheline-rewriting - tezos-protocol-alpha - tezos-error-monad - tezos-client-alpha - alcotest-lwt) +(test + (name test_rewriting) (package tezos-micheline-rewriting) + (libraries + tezos-micheline + tezos-micheline-rewriting + tezos-protocol-alpha + tezos-error-monad + tezos-client-alpha + alcotest-lwt) (flags (:standard -open Tezos_micheline))) diff --git a/src/lib_benchmark/lib_micheline_rewriting/tezos-micheline-rewriting.opam b/src/lib_benchmark/lib_micheline_rewriting/tezos-micheline-rewriting.opam index 8c07b9d6f6d288a25fc75e5f27f818b7c5711287..d534579a2b3093f953732b05252d278b8c05ef36 100644 --- a/src/lib_benchmark/lib_micheline_rewriting/tezos-micheline-rewriting.opam +++ b/src/lib_benchmark/lib_micheline_rewriting/tezos-micheline-rewriting.opam @@ -1,22 +1,22 @@ opam-version: "2.0" -name: "tezos-micheline-rewriting" -version: "1.0" -authors: [ "Tezos devteam" ] maintainer: "contact@tezos.com" -license: "MIT" +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" -build: [[ "dune" "build" "-j" jobs "-p" name "@install" ]] -run-test: [[ "dune" "runtest" "-p" name "-j" jobs ]] +license: "MIT" depends: [ - "dune" {build & >= "2.0"} - "tezos-micheline" + "dune" { >= "2.0" } "zarith" { >= "1.12" & < "1.13" } "tezos-stdlib" "tezos-error-monad" - "alcotest-lwt" {with-test} - "tezos-client-alpha" {with-test} + "tezos-micheline" "tezos-protocol-alpha" {with-test} + "tezos-client-alpha" {with-test} + "alcotest-lwt" { with-test & >= "1.1.0" } +] +build: [ + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] synopsis: "Tezos: library for rewriting Micheline expressions" diff --git a/src/lib_benchmark/test/dune b/src/lib_benchmark/test/dune index 07ffdd13aa91637a6a9970ff12aa085793952ae6..0f290e04220671b9af1dcac346a277291ac7efbd 100644 --- a/src/lib_benchmark/test/dune +++ b/src/lib_benchmark/test/dune @@ -1,12 +1,13 @@ -(tests - (names main_ci) - (libraries alcotest-lwt - tezos-base - tezos-base.unix - tezos-stdlib-unix - tezos-micheline - tezos-crypto - tezos-benchmark - tezos-benchmark-examples) +(test + (name main_ci) (package tezos-benchmark-tests) + (libraries + alcotest-lwt + tezos-base + tezos-base.unix + tezos-stdlib-unix + tezos-micheline + tezos-crypto + tezos-benchmark + tezos-benchmark-examples) (flags (:standard -open Tezos_base__TzPervasives))) diff --git a/src/lib_benchmark/tezos-benchmark-examples.opam b/src/lib_benchmark/tezos-benchmark-examples.opam index 398f8911cca6d35721a0a14f9ce83046fe9ccd1d..cfe31d8f0e98b94b7b92a0b5593efe15785e9221 100644 --- a/src/lib_benchmark/tezos-benchmark-examples.opam +++ b/src/lib_benchmark/tezos-benchmark-examples.opam @@ -1,14 +1,16 @@ opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ "dune" { >= "2.0" } + "tezos-base" + "tezos-stdlib-unix" + "tezos-crypto" "tezos-benchmark" - "alcotest-lwt" { with-test & >= "1.1.0" } ] build: [ ["dune" "build" "-p" name "-j" jobs] diff --git a/src/lib_benchmark/tezos-benchmark-tests.opam b/src/lib_benchmark/tezos-benchmark-tests.opam index 46b044befded0f4f3402bd6aac0a4cd94dc7a2d3..f0ec446d1162ee9275d3e1a6a1cb3b5b00255cbb 100644 --- a/src/lib_benchmark/tezos-benchmark-tests.opam +++ b/src/lib_benchmark/tezos-benchmark-tests.opam @@ -1,19 +1,19 @@ opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ "dune" { >= "2.0" } - "tezos-benchmark" - "tezos-benchmark-examples" - "tezos-stdlib-unix" - "tezos-micheline" - "tezos-crypto" - "tezos-base" "alcotest-lwt" { with-test & >= "1.1.0" } + "tezos-base" {with-test} + "tezos-stdlib-unix" {with-test} + "tezos-micheline" {with-test} + "tezos-crypto" {with-test} + "tezos-benchmark" {with-test} + "tezos-benchmark-examples" {with-test} ] build: [ ["dune" "build" "-p" name "-j" jobs] diff --git a/src/lib_benchmark/tezos-benchmark.opam b/src/lib_benchmark/tezos-benchmark.opam index aa1ad7beeaab8262083ab5b2f6944c093da6bc29..ab2db9bb10358a60f7bee1568433112729e65632 100644 --- a/src/lib_benchmark/tezos-benchmark.opam +++ b/src/lib_benchmark/tezos-benchmark.opam @@ -1,6 +1,6 @@ opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" @@ -8,7 +8,6 @@ license: "MIT" depends: [ "dune" { >= "2.0" } "tezos-base" - "tezos-stdlib" "tezos-stdlib-unix" "tezos-micheline" "tezos-clic" @@ -16,9 +15,9 @@ depends: [ "prbnmcn-stats" { = "0.0.2" } "benchmark-utils" "pyml-plot" + "ocaml-migrate-parsetree" "conf-autoconf" "hashcons" - "ocaml-migrate-parsetree" ] build: [ ["dune" "build" "-p" name "-j" jobs] diff --git a/src/lib_client_base_unix/dune b/src/lib_client_base_unix/dune index e54ea591ffd0a3c940bcb8733eb749f791267b32..3f71cc580ce6ba1339883143d45267ba82a42388 100644 --- a/src/lib_client_base_unix/dune +++ b/src/lib_client_base_unix/dune @@ -1,25 +1,28 @@ (library (name tezos_client_base_unix) - (instrumentation (backend bisect_ppx)) (public_name tezos-client-base-unix) - (libraries tezos-base - tezos-client-base - tezos-client-commands - tezos-stdlib-unix - tezos-rpc-http-client-unix - tezos-mockup - tezos-mockup-registration - tezos-mockup-commands - tezos-proxy - tezos-signer-backends.unix - tezos-shell-services - lwt-exit) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_rpc_http - -open Tezos_rpc_http_client_unix - -open Tezos_shell_services - -open Tezos_stdlib_unix - -open Tezos_client_base - -open Tezos_client_commands - -open Tezos_mockup_commands - -linkall))) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-base + tezos-client-base + tezos-client-commands + tezos-stdlib-unix + tezos-rpc-http-client-unix + tezos-mockup + tezos-mockup-registration + tezos-mockup-commands + tezos-proxy + tezos-signer-backends.unix + tezos-shell-services + lwt-exit) + (flags + (:standard + -linkall + -open Tezos_base__TzPervasives + -open Tezos_rpc_http + -open Tezos_rpc_http_client_unix + -open Tezos_shell_services + -open Tezos_stdlib_unix + -open Tezos_client_base + -open Tezos_client_commands + -open Tezos_mockup_commands))) diff --git a/src/lib_client_base_unix/test/dune b/src/lib_client_base_unix/test/dune index 2fcc103a1839f27969263359e73badcab13daa04..1f1bc0241178336d172af745d2db50a3b95acd5e 100644 --- a/src/lib_client_base_unix/test/dune +++ b/src/lib_client_base_unix/test/dune @@ -1,7 +1,11 @@ -(tests - (names test_mockup_wallet) - (libraries tezos-mockup-commands tezos-client-base-unix tezos-base-test-helpers - alcotest alcotest-lwt) +(test + (name test_mockup_wallet) (package tezos-client-base-unix) + (libraries + tezos-mockup-commands + tezos-client-base-unix + tezos-base-test-helpers + alcotest + alcotest-lwt) (flags (:standard -open Tezos_base__TzPervasives -open Tezos_base_test_helpers))) diff --git a/src/lib_client_base_unix/tezos-client-base-unix.opam b/src/lib_client_base_unix/tezos-client-base-unix.opam index cabefc415c1a59d135c96011be99738e22258351..15ba0c18cefe64d3511aaa6de08458f9236ff25c 100644 --- a/src/lib_client_base_unix/tezos-client-base-unix.opam +++ b/src/lib_client_base_unix/tezos-client-base-unix.opam @@ -1,6 +1,6 @@ opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" @@ -9,15 +9,19 @@ depends: [ "dune" { >= "2.0" } "tezos-base" "tezos-client-base" - "tezos-stdlib-unix" - "tezos-rpc-http-client" - "tezos-signer-backends" "tezos-client-commands" + "tezos-stdlib-unix" + "tezos-rpc-http-client-unix" + "tezos-mockup" "tezos-mockup-registration" "tezos-mockup-commands" "tezos-proxy" + "tezos-signer-backends" + "tezos-shell-services" "lwt-exit" - "tezos-base-test-helpers" { with-test } + "tezos-base-test-helpers" {with-test} + "alcotest" { with-test & >= "1.1.0" } + "alcotest-lwt" { with-test & >= "1.1.0" } ] build: [ ["dune" "build" "-p" name "-j" jobs] diff --git a/src/lib_proxy/dune b/src/lib_proxy/dune index d3b8afeda01e0bee88f298c2714581b0914121ba..fb7b8b47e643ef913dc9080e1bf9a952df628ff5 100644 --- a/src/lib_proxy/dune +++ b/src/lib_proxy/dune @@ -1,7 +1,7 @@ (library (name tezos_proxy) - (instrumentation (backend bisect_ppx)) (public_name tezos-proxy) + (instrumentation (backend bisect_ppx)) (libraries ringo-lwt tezos-base @@ -12,5 +12,4 @@ tezos-rpc tezos-shell-services tezos-context) - (flags - (:standard -open Tezos_base__TzPervasives))) + (flags (:standard -open Tezos_base__TzPervasives))) diff --git a/src/lib_proxy/test/dune b/src/lib_proxy/test/dune index ade1c20181013c0f6212ee55bb3207cb9a57deb5..cbe5d613faceb3092ed93b795f533b2d98f75973 100644 --- a/src/lib_proxy/test/dune +++ b/src/lib_proxy/test/dune @@ -12,5 +12,4 @@ qcheck-alcotest alcotest-lwt) (flags - (:standard -open Tezos_base__TzPervasives - -open Tezos_base_test_helpers))) + (:standard -open Tezos_base__TzPervasives -open Tezos_base_test_helpers))) diff --git a/src/lib_proxy/tezos-proxy.opam b/src/lib_proxy/tezos-proxy.opam index 472343728fb9acf89b93103e6b30392f52850655..ec48139a9c4555d3a3a5ee2047ed3ebd0adfb473 100644 --- a/src/lib_proxy/tezos-proxy.opam +++ b/src/lib_proxy/tezos-proxy.opam @@ -1,13 +1,13 @@ opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ "dune" { >= "2.0" } - "ringo-lwt" + "ringo-lwt" { = "0.5" } "tezos-base" "tezos-clic" "tezos-client-base" @@ -16,11 +16,12 @@ depends: [ "tezos-rpc" "tezos-shell-services" "tezos-context" + "tezos-stdlib-unix" {with-test} + "tezos-base-test-helpers" {with-test} + "tezos-test-helpers" {with-test} + "tezos-shell-services-test-helpers" {with-test} + "qcheck-alcotest" {with-test} "alcotest-lwt" { with-test & >= "1.1.0" } - "tezos-test-helpers" { with-test } - "tezos-base-test-helpers" { with-test } - "tezos-shell-services-test-helpers" { with-test } - "qcheck-alcotest" { with-test } ] build: [ ["dune" "build" "-p" name "-j" jobs] diff --git a/src/lib_proxy_server_config/dune b/src/lib_proxy_server_config/dune index c6511b58eb59aefb5712140e90cc79254fac1183..b4e95bc6efb2644c2d15dd9cd632994baa542b16 100644 --- a/src/lib_proxy_server_config/dune +++ b/src/lib_proxy_server_config/dune @@ -1,8 +1,8 @@ (library (name tezos_proxy_server_config) - (instrumentation (backend bisect_ppx)) (public_name tezos-proxy-server-config) - (libraries tezos-base - tezos-stdlib-unix) - (flags - (:standard -open Tezos_base__TzPervasives))) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-base + tezos-stdlib-unix) + (flags (:standard -open Tezos_base__TzPervasives))) diff --git a/src/lib_proxy_server_config/test/dune b/src/lib_proxy_server_config/test/dune index baf00557ef1f4a45299dde97082d7ccc169e6831..8fa9be66fd9abf4b07c7c806518b984f900f494b 100644 --- a/src/lib_proxy_server_config/test/dune +++ b/src/lib_proxy_server_config/test/dune @@ -1,5 +1,5 @@ -(tests - (names test_proxy_server_config) +(test + (name test_proxy_server_config) (package tezos-proxy-server-config) (libraries tezos-base @@ -8,5 +8,4 @@ tezos-test-helpers qcheck-alcotest alcotest-lwt) - (flags - (:standard -open Tezos_base__TzPervasives))) + (flags (:standard -open Tezos_base__TzPervasives))) diff --git a/src/lib_proxy_server_config/tezos-proxy-server-config.opam b/src/lib_proxy_server_config/tezos-proxy-server-config.opam index ced82f5ab1e0675f8b86f876a0922b342b3b52db..81366176f689c7d685387a52b9d06a5a4e7eaa20 100644 --- a/src/lib_proxy_server_config/tezos-proxy-server-config.opam +++ b/src/lib_proxy_server_config/tezos-proxy-server-config.opam @@ -1,6 +1,6 @@ opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" @@ -8,8 +8,10 @@ license: "MIT" depends: [ "dune" { >= "2.0" } "tezos-base" - "tezos-test-helpers" { with-test } - "qcheck-alcotest" { with-test } + "tezos-stdlib-unix" + "tezos-test-helpers" {with-test} + "qcheck-alcotest" {with-test} + "alcotest-lwt" { with-test & >= "1.1.0" } ] build: [ ["dune" "build" "-p" name "-j" jobs]