File tree Expand file tree Collapse file tree 4 files changed +10
-20
lines changed Expand file tree Collapse file tree 4 files changed +10
-20
lines changed Original file line number Diff line number Diff line change @@ -97,18 +97,22 @@ quiettest/%: $(NAME)
97
97
.PHONY : install
98
98
99
99
install :
100
+ rm -f $(NAME ) .exe
100
101
dune build -p $(NAME ) @install
101
102
dune install
102
103
103
104
opam-release/% :
104
- git tag opam-$*
105
+ git tag -f opam-$*
105
106
git push --tags
106
107
rm -f opam-$* .zip
107
108
wget https://github.com/WebAssembly/spec/archive/opam-$* .zip
108
109
cp wasm.opam opam
109
110
echo " url {" >> opam
110
111
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
112
116
echo " }" >> opam
113
117
rm opam-$* .zip
114
118
@echo Created file ./opam, submit to github opam-repository/packages/wasm/wasm.$* /opam
Original file line number Diff line number Diff line change 16
16
(synopsis " Library to read and write WebAssembly (Wasm) files and manipulate their AST" )
17
17
( tags ( wasm webassembly spec interpreter) )
18
18
( depends
19
- ( ocaml ( >= 4 .12 ) )
19
+ ( ocaml ( >= 4 .14 ) )
20
20
(menhir ( >= 20220210 ) )
21
21
)
22
22
)
Original file line number Diff line number Diff line change 1
1
let name = " wasm"
2
- let version = " 2.0.1 "
2
+ let version = " 2.0.2 "
3
3
4
4
let configure () =
5
5
Import. register (Utf8. decode " spectest" ) Spectest. lookup;
Original file line number Diff line number Diff line change @@ -14,20 +14,6 @@ depends: [
14
14
"menhir" {>= "20220210"}
15
15
"odoc" {with-doc}
16
16
]
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"]
33
19
dev-repo: "git+https://github.com/WebAssembly/spec.git"
You can’t perform that action at this time.
0 commit comments