Skip to content

Commit 95fa5b3

Browse files
committed
[interpreter] opam release 2.0.2
1 parent abc8d16 commit 95fa5b3

File tree

4 files changed

+10
-20
lines changed

4 files changed

+10
-20
lines changed

interpreter/Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,18 +97,22 @@ quiettest/%: $(NAME)
9797
.PHONY: install
9898

9999
install:
100+
rm -f $(NAME).exe
100101
dune build -p $(NAME) @install
101102
dune install
102103

103104
opam-release/%:
104-
git tag opam-$*
105+
git tag -f opam-$*
105106
git push --tags
106107
rm -f opam-$*.zip
107108
wget https://github.com/WebAssembly/spec/archive/opam-$*.zip
108109
cp wasm.opam opam
109110
echo "url {" >> opam
110111
echo " src: \"https://github.com/WebAssembly/spec/archive/opam-$*.zip\"" >> opam
111-
echo " checksum: \"md5=`md5 -q opam-$*.zip`\"" >> opam
112+
echo " checksum: [" >> opam
113+
echo " \"md5=`md5 -q opam-$*.zip`\"" >> opam
114+
echo " \"sha256=`sha256 -q opam-$*.zip`\"" >> opam
115+
echo " ]" >> opam
112116
echo "}" >> opam
113117
rm opam-$*.zip
114118
@echo Created file ./opam, submit to github opam-repository/packages/wasm/wasm.$*/opam

interpreter/dune-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
(synopsis "Library to read and write WebAssembly (Wasm) files and manipulate their AST")
1717
(tags (wasm webassembly spec interpreter))
1818
(depends
19-
(ocaml (>= 4.12))
19+
(ocaml (>= 4.14))
2020
(menhir (>= 20220210))
2121
)
2222
)

interpreter/main/main.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
let name = "wasm"
2-
let version = "2.0.1"
2+
let version = "2.0.2"
33

44
let configure () =
55
Import.register (Utf8.decode "spectest") Spectest.lookup;

interpreter/wasm.opam

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,6 @@ depends: [
1414
"menhir" {>= "20220210"}
1515
"odoc" {with-doc}
1616
]
17-
build: [
18-
["dune" "subst"] {dev}
19-
[
20-
"dune"
21-
"build"
22-
"-p"
23-
name
24-
"-j"
25-
jobs
26-
"--promote-install-files=false"
27-
"@install"
28-
"@runtest" {with-test}
29-
"@doc" {with-doc}
30-
]
31-
["dune" "install" "-p" name "--create-install-files" name]
32-
]
17+
build: [make "-C" "interpreter"]
18+
install: [make "-C" "interpreter" "install"]
3319
dev-repo: "git+https://github.com/WebAssembly/spec.git"

0 commit comments

Comments
 (0)