From dc177ab97ab762a8c48333db782d11359de34bad Mon Sep 17 00:00:00 2001 From: Stephen Sherratt Date: Wed, 19 Mar 2025 19:07:53 +1100 Subject: [PATCH] Fix version specification for local packages Quotes are optional for single word strings in dune, so depending on the version version of a package will require the version be literally "version" rather than the version of the dependant package. This changes the required versions to be the :version variable instead. --- dune-project | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dune-project b/dune-project index ae3456f..8666f7c 100644 --- a/dune-project +++ b/dune-project @@ -45,7 +45,7 @@ (description "\nOcaml-solidity provides a Solidity parser and typechecker\n") (depends (ocaml (>= 4.08.0)) - (solidity-common (= version)) + (solidity-common (= :version)) (hex ( >= 1 )) menhir ppx_inline_test @@ -62,8 +62,8 @@ (depends (ocaml (>= 4.08.0)) (uutf ( >= 1 )) - (solidity-parser (= version)) - (solidity-common (= version)) + (solidity-parser (= :version)) + (solidity-common (= :version)) ez_hash ppx_inline_test ppx_expect @@ -78,9 +78,9 @@ (description "\nOcaml-solidity provides a Solidity parser and typechecker\n") (depends (ocaml (>= 4.08.0)) - (solidity-typechecker (= version)) - (solidity-parser (= version)) - (solidity-common (= version)) + (solidity-typechecker (= :version)) + (solidity-parser (= :version)) + (solidity-common (= :version)) ppx_inline_test ppx_expect odoc @@ -94,9 +94,9 @@ (description "\nOcaml-solidity provides a Solidity parser and typechecker\n") (depends (ocaml (>= 4.08.0)) - (solidity-typechecker (= version)) - (solidity-parser (= version)) - (solidity-common (= version)) + (solidity-typechecker (= :version)) + (solidity-parser (= :version)) + (solidity-common (= :version)) (alcotest ( >= 1.2 )) ppx_inline_test ppx_expect