Skip to content

Commit 7b33c40

Browse files
committed
[interpreter] Makefile tweaks
1 parent 423bf0b commit 7b33c40

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

interpreter/Makefile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,12 @@ uninstall:
208208
ocamlfind remove $(LIB)
209209
210210
opam-release/%:
211-
git tag opam-$*
211+
#git tag opam-$*
212212
git push --tags
213+
rm -f opam-$*.zip
213214
wget https://github.com/WebAssembly/spec/archive/opam-$*.zip
214215
cp meta/opam/opam .
215-
sed s/@VERSION/$*/g opam >opam.tmp
216-
sed s/@MD5/`md5 -q opam-$*.zip`/g opam.tmp >opam
217-
rm opam.tmp
218-
echo Created file ./opam, submit to github opam-repository/packages/wasm/wasm.$*/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
219+
@echo Created file ./opam, submit to github opam-repository/packages/wasm/wasm.$*/opam

0 commit comments

Comments
 (0)