1. camlspotter
  2. mutated_ocaml

Commits

camlspotter  committed f2c62fe

version

  • Participants
  • Parent commits e9b7506
  • Branches ocamlspot-3120rc1

Comments (0)

Files changed (6)

File 0scripts/0CONF.sh

View file
  • Ignore whitespace
 
 BIGVERSION=3.12
 VERSION=3.12.0+rc1
-OCAMLSPOTVERSION=3.12.0+rc1.1.2.0
+OCAMLSPOTVERSION=3.12.0+rc1-1.2.0
 SVNREV=10630
 
 HG_PURE_OCAML="ocaml-3.12.0+rc1-10630"
-HG_RELEASE_REV="170a7b72d9af"
+

File 0scripts/0MAKERELEASE

View file
  • Ignore whitespace
 
 . ./0CONF.sh
 
+if [ "$RELEASE" = "" ]; then
+    echo "Specify \$RELEASE"
+    exit 1
+fi
+
 cd ..
 
 (cd ocamlspot; make clean)
 rm -rf $dstdir
 mkdir $dstdir;
 
-hg diff -r $HG_PURE_OCAML -r $HG_RELEASE_REV -X "0*" -X ".hg[a-z]*" -X "ocamlspot" -X "boot" > $dstdir/compiler_patch.diff
+hg diff -r $HG_PURE_OCAML -r $RELEASE -X "0*" -X ".hg[a-z]*" -X "ocamlspot" -X "boot" > $dstdir/compiler_patch.diff
 
 (cd $dstdir; tar zxf ../$tgz)
 

File VERSION

View file
  • Ignore whitespace
-3.12.0+rc1+ocamlspotter
+3.12.0+rc1+ocamlspotter-1.2
 
 # The version string is the first line of this file.
 # It must be in the format described in stdlib/sys.mli

File ocamlspot/ocamlspot.ml

View file
  • Ignore whitespace
 module Config = struct
 
   let print_version () =
-    Format.eprintf "ocamlspot version: %s.%s@." Spot.version app_version
+    Format.eprintf "ocamlspot version: %s.%s for ocaml %s@."
+      Spot.version app_version Spot.ocaml_version
       
   let spec = ref None
   let (* dump_file_ref => *) dump_file (* <= dump_file_ref *) = ref false

File typing/spot.ml

View file
  • Ignore whitespace
 *)
 
 let magic_number = "OCamlSpot"
+let ocaml_version = "3.12.0+rc1"
 let version = "1.2"
 
 module Location_bound = struct

File typing/spot.mli

View file
  • Ignore whitespace
 *)
 
 val magic_number : string
+val ocaml_version : string
 val version : string
 
 module Location_bound : sig