Skip to content

Commit

Permalink
[interpreter] Tune opam file to fix opam repo CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rossberg committed Jul 24, 2023
1 parent 0bd3aeb commit cfc9343
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions interpreter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ opam-release/%:
rm -f opam-$*.zip
wget https://github.com/WebAssembly/spec/archive/opam-$*.zip
cp meta/opam/opam .
sed -i "tmp" s/@VERSION/$*/g opam
sed -i "tmp" s/@MD5/`md5 -q opam-$*.zip`/g opam
rm opam-$*.zip
sed -i ".tmp" s/@VERSION/$*/g opam
sed -i ".tmp" s/@MD5/`md5 -q opam-$*.zip`/g opam
rm opam.tmp opam-$*.zip
@echo Created file ./opam, submit to github opam-repository/packages/wasm/wasm.$*/opam
1 change: 1 addition & 0 deletions interpreter/meta/opam/opam
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ depends: [
"ocamlfind" {build}
"ocamlbuild" {build}
]
conflicts: ["ocaml-option-bytecode-only"] # uses ocamlopt unconconditionally
synopsis:
"Library to read and write WebAssembly (Wasm) files and manipulate their AST"
url {
Expand Down

0 comments on commit cfc9343

Please sign in to comment.