diff options
| -rw-r--r-- | opam | 3 | ||||
| -rw-r--r-- | src/Makefile | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,6 @@ opam-version: "1.2" name: "sail" -version: "0.7.1" +version: "0.8" maintainer: "Sail Devs <cl-sail-dev@lists.cam.ac.uk>" authors: [ "Alasdair Armstrong" @@ -35,5 +35,6 @@ depends: [ "omd" "conf-gmp" "conf-zlib" + "yojson" ] available: [ocaml-version >= "4.06.0"] diff --git a/src/Makefile b/src/Makefile index b0b22f77..beba66df 100644 --- a/src/Makefile +++ b/src/Makefile @@ -96,7 +96,7 @@ else echo let dir=\"$(SHARE_DIR)\" >> manifest.ml echo let commit=\"opam\" >> manifest.ml echo let branch=\"sail2\" >> manifest.ml - echo let version=\"0.8\" >> manifest.ml + echo let version=\"$(shell grep '^version:' ../opam | grep -o -E '"[^"]+"')\" >> manifest.ml endif sail: ast.ml bytecode.ml manifest.ml |
