diff --git a/examples/fts/foreign/dune b/examples/fts/foreign/dune index 88524ff5..60c545e3 100644 --- a/examples/fts/foreign/dune +++ b/examples/fts/foreign/dune @@ -1,4 +1,5 @@ (executables (names fts_cmd) - (enabled_if (= %{os_type} "Unix")) + (enabled_if + (= %{os_type} "Unix")) (libraries ctypes-foreign)) diff --git a/examples/fts/stub-generation/bindings/dune b/examples/fts/stub-generation/bindings/dune index bd686222..c36e1ce6 100644 --- a/examples/fts/stub-generation/bindings/dune +++ b/examples/fts/stub-generation/bindings/dune @@ -2,6 +2,4 @@ (name fts_stubs) (wrapped false) (modules_without_implementation fts) - (libraries - ctypes - ctypes-foreign)) + (libraries ctypes ctypes-foreign)) diff --git a/examples/fts/stub-generation/dune b/examples/fts/stub-generation/dune index 2871b507..a8101263 100644 --- a/examples/fts/stub-generation/dune +++ b/examples/fts/stub-generation/dune @@ -1,4 +1,5 @@ (executable (name fts_cmd) - (enabled_if (= %{os_type} "xnix")) + (enabled_if + (= %{os_type} "xnix")) (libraries fts_stubs fts_generated)) diff --git a/examples/fts/stub-generation/stub-generator/dune b/examples/fts/stub-generation/stub-generator/dune index 1da3adc6..94f9acdb 100644 --- a/examples/fts/stub-generation/stub-generator/dune +++ b/examples/fts/stub-generation/stub-generator/dune @@ -1,19 +1,22 @@ (executable (name fts_stub_generator) - (enabled_if (= %{os_type} "Unix")) + (enabled_if + (= %{os_type} "Unix")) (modules fts_stub_generator) (libraries fts_stubs ctypes.stubs ctypes)) (rule (targets fts_stubs.c fts_generated.ml) (deps fts_stub_generator.exe) - (enabled_if (= %{os_type} "Unix")) + (enabled_if + (= %{os_type} "Unix")) (action (run %{deps}))) (library (name fts_generated) - (enabled_if (= %{os_type} "Unix")) + (enabled_if + (= %{os_type} "Unix")) (modules fts_generated) (foreign_stubs (language c) diff --git a/tests/test-arrays/dune b/tests/test-arrays/dune index ab02da53..058fbd5f 100644 --- a/tests/test-arrays/dune +++ b/tests/test-arrays/dune @@ -1,5 +1,5 @@ (test (name test_array) (package ctypes-foreign) - (libraries oUnit ctypes ctypes.stubs ctypes-foreign - test_arrays_stubs test_arrays_bindings tests_common stdlib-shims)) + (libraries oUnit ctypes ctypes.stubs ctypes-foreign test_arrays_stubs + test_arrays_bindings tests_common stdlib-shims)) diff --git a/tests/test-bigarrays/dune b/tests/test-bigarrays/dune index 19afafc4..84269b53 100644 --- a/tests/test-bigarrays/dune +++ b/tests/test-bigarrays/dune @@ -1,5 +1,5 @@ (test (name test_bigarrays) (package ctypes-foreign) - (libraries oUnit ctypes ctypes.stubs ctypes-foreign - test_bigarrays_stubs test_bigarrays_bindings tests_common)) + (libraries oUnit ctypes ctypes.stubs ctypes-foreign test_bigarrays_stubs + test_bigarrays_bindings tests_common)) diff --git a/tests/test-bools/dune b/tests/test-bools/dune index bdc9971a..298f9326 100644 --- a/tests/test-bools/dune +++ b/tests/test-bools/dune @@ -1,5 +1,5 @@ (test (name test_bools) (package ctypes-foreign) - (libraries oUnit ctypes ctypes.stubs ctypes-foreign - test_bools_stubs test_bools_bindings tests_common)) + (libraries oUnit ctypes ctypes.stubs ctypes-foreign test_bools_stubs + test_bools_bindings tests_common)) diff --git a/tests/test-builtins/dune b/tests/test-builtins/dune index dd508f4c..3dbc7a11 100644 --- a/tests/test-builtins/dune +++ b/tests/test-builtins/dune @@ -1,5 +1,5 @@ (test (name test_builtins) (package ctypes-foreign) - (libraries oUnit ctypes ctypes.stubs ctypes-foreign - test_builtins_stubs test_builtins_bindings tests_common)) + (libraries oUnit ctypes ctypes.stubs ctypes-foreign test_builtins_stubs + test_builtins_bindings tests_common)) diff --git a/tests/test-coercions/dune b/tests/test-coercions/dune index a7a26390..788e780d 100644 --- a/tests/test-coercions/dune +++ b/tests/test-coercions/dune @@ -1,5 +1,5 @@ (test (name test_coercions) (package ctypes-foreign) - (libraries oUnit ctypes ctypes.stubs ctypes-foreign - test_coercionss_stubs test_coercionss_bindings tests_common)) + (libraries oUnit ctypes ctypes.stubs ctypes-foreign test_coercionss_stubs + test_coercionss_bindings tests_common)) diff --git a/tests/test-complex/dune b/tests/test-complex/dune index fbdfea70..d5b712b8 100644 --- a/tests/test-complex/dune +++ b/tests/test-complex/dune @@ -1,5 +1,5 @@ (test (name test_complex) (package ctypes-foreign) - (libraries oUnit ctypes ctypes.stubs ctypes-foreign - test_complexs_stubs test_complexs_bindings tests_common)) + (libraries oUnit ctypes ctypes.stubs ctypes-foreign test_complexs_stubs + test_complexs_bindings tests_common)) diff --git a/tests/test-constants/dune b/tests/test-constants/dune index ec31c22f..3663d967 100644 --- a/tests/test-constants/dune +++ b/tests/test-constants/dune @@ -42,5 +42,5 @@ (name test_constants) (package ctypes-foreign) (modules test_constants) - (libraries oUnit ctypes ctypes.stubs ctypes-foreign - test_constants_stubs test_functions test_constants_bindings tests_common)) + (libraries oUnit ctypes ctypes.stubs ctypes-foreign test_constants_stubs + test_functions test_constants_bindings tests_common)) diff --git a/tests/test-cstdlib/dune b/tests/test-cstdlib/dune index 5186e5d2..abc794f2 100644 --- a/tests/test-cstdlib/dune +++ b/tests/test-cstdlib/dune @@ -1,5 +1,5 @@ (test (name test_cstdlib) (package ctypes-foreign) - (libraries oUnit ctypes ctypes.stubs ctypes-foreign - test_cstdlib_stubs test_cstdlib_bindings tests_common stdlib-shims)) + (libraries oUnit ctypes ctypes.stubs ctypes-foreign test_cstdlib_stubs + test_cstdlib_bindings tests_common stdlib-shims)) diff --git a/tests/test-higher_order/dune b/tests/test-higher_order/dune index 0984a873..e434cdbc 100644 --- a/tests/test-higher_order/dune +++ b/tests/test-higher_order/dune @@ -1,5 +1,5 @@ (test (name test_higher_order) (package ctypes-foreign) - (libraries oUnit ctypes ctypes.stubs ctypes-foreign - test_higher_order_stubs test_higher_order_bindings tests_common)) + (libraries oUnit ctypes ctypes.stubs ctypes-foreign test_higher_order_stubs + test_higher_order_bindings tests_common)) diff --git a/tests/test-integers/dune b/tests/test-integers/dune index 2faeffce..07bcaa73 100644 --- a/tests/test-integers/dune +++ b/tests/test-integers/dune @@ -1,5 +1,5 @@ (test (name test_integers) (package ctypes-foreign) - (libraries oUnit ctypes ctypes.stubs ctypes-foreign - test_integers_stubs test_integers_bindings tests_common)) + (libraries oUnit ctypes ctypes.stubs ctypes-foreign test_integers_stubs + test_integers_bindings tests_common)) diff --git a/tests/test-lifetime/dune b/tests/test-lifetime/dune index 3b74ac42..7ff25f87 100644 --- a/tests/test-lifetime/dune +++ b/tests/test-lifetime/dune @@ -1,5 +1,5 @@ (test (name test_lifetime) (package ctypes-foreign) - (libraries oUnit ctypes ctypes.stubs ctypes-foreign - test_lifetime_stubs test_lifetime_bindings tests_common)) + (libraries oUnit ctypes ctypes.stubs ctypes-foreign test_lifetime_stubs + test_lifetime_bindings tests_common)) diff --git a/tests/test-lwt-jobs/dune b/tests/test-lwt-jobs/dune index 3da42070..e95ace93 100644 --- a/tests/test-lwt-jobs/dune +++ b/tests/test-lwt-jobs/dune @@ -42,5 +42,5 @@ (name test_lwt_jobs) (package ctypes-foreign) (modules test_lwt_jobs) - (libraries oUnit ctypes ctypes.stubs ctypes-foreign - test_lwt_jobs_stubs test_functions test_lwt_jobs_bindings tests_common)) + (libraries oUnit ctypes ctypes.stubs ctypes-foreign test_lwt_jobs_stubs + test_functions test_lwt_jobs_bindings tests_common)) diff --git a/tests/test-macros/dune b/tests/test-macros/dune index 5146ced3..352f2a65 100644 --- a/tests/test-macros/dune +++ b/tests/test-macros/dune @@ -1,5 +1,5 @@ (test (name test_macros) (package ctypes-foreign) - (libraries oUnit ctypes ctypes.stubs ctypes-foreign - test_macros_stubs test_macros_bindings tests_common)) + (libraries oUnit ctypes ctypes.stubs ctypes-foreign test_macros_stubs + test_macros_bindings tests_common)) diff --git a/tests/test-oo_style/dune b/tests/test-oo_style/dune index ddb293d4..172ac5a1 100644 --- a/tests/test-oo_style/dune +++ b/tests/test-oo_style/dune @@ -1,5 +1,5 @@ (test (name test_oo_style) (package ctypes-foreign) - (libraries oUnit ctypes ctypes.stubs ctypes-foreign - test_oo_style_stubs test_oo_style_bindings tests_common)) + (libraries oUnit ctypes ctypes.stubs ctypes-foreign test_oo_style_stubs + test_oo_style_bindings tests_common)) diff --git a/tests/test-pointers/dune b/tests/test-pointers/dune index 7b32e983..1fe221e6 100644 --- a/tests/test-pointers/dune +++ b/tests/test-pointers/dune @@ -1,5 +1,5 @@ (test (name test_pointers) (package ctypes-foreign) - (libraries oUnit ctypes ctypes.stubs ctypes-foreign - test_pointers_stubs test_pointers_bindings tests_common stdlib-shims)) + (libraries oUnit ctypes ctypes.stubs ctypes-foreign test_pointers_stubs + test_pointers_bindings tests_common stdlib-shims)) diff --git a/tests/test-structs/dune b/tests/test-structs/dune index 3656e9a8..c54480aa 100644 --- a/tests/test-structs/dune +++ b/tests/test-structs/dune @@ -42,5 +42,5 @@ (name test_structs) (modules test_structs) (package ctypes-foreign) - (libraries oUnit ctypes ctypes.stubs ctypes-foreign - test_structs_stubs test_functions test_structs_bindings tests_common)) + (libraries oUnit ctypes ctypes.stubs ctypes-foreign test_structs_stubs + test_functions test_structs_bindings tests_common)) diff --git a/tests/test-threads/dune b/tests/test-threads/dune index ada49c33..04d4da81 100644 --- a/tests/test-threads/dune +++ b/tests/test-threads/dune @@ -1,5 +1,5 @@ (test (name test_threads) (package ctypes-foreign) - (libraries oUnit ctypes ctypes.stubs ctypes-foreign - test_threads_stubs test_threads_bindings tests_common)) + (libraries oUnit ctypes ctypes.stubs ctypes-foreign test_threads_stubs + test_threads_bindings tests_common)) diff --git a/tests/test-type_printing/dune b/tests/test-type_printing/dune index 7bfa7997..b0e28c47 100644 --- a/tests/test-type_printing/dune +++ b/tests/test-type_printing/dune @@ -42,6 +42,5 @@ (name test_type_printing) (modules test_type_printing) (package ctypes-foreign) - (libraries oUnit ctypes ctypes.stubs ctypes-foreign - test_type_printing_stubs test_functions test_type_printing_bindings - tests_common)) + (libraries oUnit ctypes ctypes.stubs ctypes-foreign test_type_printing_stubs + test_functions test_type_printing_bindings tests_common)) diff --git a/tests/test-unions/dune b/tests/test-unions/dune index cac68c2a..2109479e 100644 --- a/tests/test-unions/dune +++ b/tests/test-unions/dune @@ -42,5 +42,5 @@ (name test_unions) (modules test_unions) (package ctypes-foreign) - (libraries oUnit ctypes ctypes.stubs ctypes-foreign - test_unions_stubs test_functions test_unions_bindings tests_common)) + (libraries oUnit ctypes ctypes.stubs ctypes-foreign test_unions_stubs + test_functions test_unions_bindings tests_common))