# HG changeset patch # User Chris Cannam # Date 1526647763 -3600 # Node ID 1b6ffed298a2825bc55ac84bb3aa7d1ce2bd09f2 # Parent f80381078069127e914845503989bc07baca5e8b Update Repoint to v1.0 diff -r f80381078069 -r 1b6ffed298a2 repoint --- a/repoint Fri May 18 13:49:16 2018 +0100 +++ b/repoint Fri May 18 13:49:23 2018 +0100 @@ -58,7 +58,7 @@ # That is fixed in v5.7.1, so we could promote it up the order # again at some point in future elif echo | poly -v 2>/dev/null | grep -q 'Poly/ML'; then - sml="poly" + sml="polyml" elif mlton 2>&1 | grep -q 'MLton'; then sml="mlton" # MLKit is at the bottom because it leaves compiled files around @@ -109,7 +109,7 @@ done case "$sml" in - poly) + polyml) if [ -n "$local_install" ] && polyc --help >/dev/null 2>&1 ; then if [ ! -x "$gen_out" ]; then polyc -o "$gen_out" "$program" diff -r f80381078069 -r 1b6ffed298a2 repoint.sml --- a/repoint.sml Fri May 18 13:49:16 2018 +0100 +++ b/repoint.sml Fri May 18 13:49:23 2018 +0100 @@ -38,7 +38,7 @@ authorization. *) -val repoint_version = "0.9.98" +val repoint_version = "1.0" datatype vcs = @@ -2625,7 +2625,8 @@ fun usage () = (print "\nRepoint "; version (); - print ("\nA simple manager for third-party source code dependencies.\n\n" + print ("\n A simple manager for third-party source code dependencies.\n" + ^ " http://all-day-breakfast.com/repoint/\n\n" ^ "Usage:\n\n" ^ " repoint \n\n" ^ "where is one of:\n\n" @@ -2633,9 +2634,9 @@ ^ " review check configured libraries against their providers, and report\n" ^ " install update configured libraries according to project specs and lock file\n" ^ " update update configured libraries and lock file according to project specs\n" - ^ " lock update lock file to match local library status\n" - ^ " archive pack up project and all libraries into an archive file\n" - ^ " (invoke as 'repoint archive target-file.tar.gz')\n" + ^ " lock rewrite lock file to match local library status\n" + ^ " archive pack up project and all libraries into an archive file:\n" + ^ " invoke as 'repoint archive targetfile.tar.gz --exclude unwanted.txt'\n" ^ " version print the Repoint version number and exit\n\n"); OS.Process.failure)