From 6e19f23e2b3c7004b5762fa3ba21cd79c376316f Mon Sep 17 00:00:00 2001 From: Muqiu Han Date: Thu, 4 Jan 2024 12:19:01 +0800 Subject: [PATCH 1/2] [interpreter]: Add depends to dune-project --- interpreter/dune-project | 25 ++++++++++++++++++------- interpreter/wasm.opam | 2 ++ 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/interpreter/dune-project b/interpreter/dune-project index 8392b339f5..5efb8d8be1 100644 --- a/interpreter/dune-project +++ b/interpreter/dune-project @@ -3,21 +3,32 @@ (name wasm) (generate_opam_files true) + (using menhir 2.1) + (implicit_transitive_deps false) (license Apache-2.0) (source - (github WebAssembly/spec)) + (github WebAssembly/spec)) (authors "Andreas Rossberg = 4.12)) - (menhir (>= 20220210)))) + (name wasm) + (synopsis + "Library to read and write WebAssembly (Wasm) files and manipulate their AST") + (tags + (wasm webassembly spec interpreter)) + (depends + (ocaml + (>= 4.12)) + (menhir + (>= 20220210)) + (js_of_ocaml + (>= 5.5.2)) + (js_of_ocaml-ppx + (>= 5.5.2)))) diff --git a/interpreter/wasm.opam b/interpreter/wasm.opam index ad8b60af23..4350c1a814 100644 --- a/interpreter/wasm.opam +++ b/interpreter/wasm.opam @@ -12,6 +12,8 @@ depends: [ "dune" {>= "2.9"} "ocaml" {>= "4.12"} "menhir" {>= "20220210"} + "js_of_ocaml" {>= "5.5.2"} + "js_of_ocaml-ppx" {>= "5.5.2"} "odoc" {with-doc} ] build: [ From 4a60b6eed3e6925c5d09b7f4af7ca3d5a3fde070 Mon Sep 17 00:00:00 2001 From: Muqiu Han Date: Thu, 4 Jan 2024 16:54:29 +0800 Subject: [PATCH 2/2] [interpreter]: Avoids reformatting unrelated lines in dune-project --- interpreter/dune-project | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/interpreter/dune-project b/interpreter/dune-project index 5efb8d8be1..559dd40b0e 100644 --- a/interpreter/dune-project +++ b/interpreter/dune-project @@ -3,32 +3,23 @@ (name wasm) (generate_opam_files true) - (using menhir 2.1) - (implicit_transitive_deps false) (license Apache-2.0) (source - (github WebAssembly/spec)) + (github WebAssembly/spec)) (authors "Andreas Rossberg = 4.12)) - (menhir - (>= 20220210)) - (js_of_ocaml - (>= 5.5.2)) - (js_of_ocaml-ppx - (>= 5.5.2)))) + (name wasm) + (synopsis "Library to read and write WebAssembly (Wasm) files and manipulate their AST") + (tags (wasm webassembly spec interpreter)) + (depends + (ocaml (>= 4.12)) + (menhir (>= 20220210)) + (js_of_ocaml (>= 5.5.2)) + (js_of_ocaml-ppx (>= 5.5.2))))