Skip to content

Commit c08a2f7

Browse files
committed
[interpreter] Tune opam file to fix opam repo CI
1 parent 8682447 commit c08a2f7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ opam-release/%:
213213
rm -f opam-$*.zip
214214
wget https://github.com/WebAssembly/spec/archive/opam-$*.zip
215215
cp meta/opam/opam .
216-
sed -i "tmp" s/@VERSION/$*/g opam
217-
sed -i "tmp" s/@MD5/`md5 -q opam-$*.zip`/g opam
218-
rm opam-$*.zip
216+
sed -i ".tmp" s/@VERSION/$*/g opam
217+
sed -i ".tmp" s/@MD5/`md5 -q opam-$*.zip`/g opam
218+
rm opam.tmp opam-$*.zip
219219
@echo Created file ./opam, submit to github opam-repository/packages/wasm/wasm.$*/opam

meta/opam/opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ depends: [
1414
"ocamlfind" {build}
1515
"ocamlbuild" {build}
1616
]
17+
conflicts: ["ocaml-option-bytecode-only"] # uses ocamlopt unconconditionally
1718
synopsis:
1819
"Library to read and write WebAssembly (Wasm) files and manipulate their AST"
1920
url {

0 commit comments

Comments
 (0)