comparison repoint.sml @ 1823:1b6ffed298a2

Update Repoint to v1.0
author Chris Cannam
date Fri, 18 May 2018 13:49:23 +0100
parents adc8a48f4e4c
children ecc44dd16172
comparison
equal deleted inserted replaced
1822:f80381078069 1823:1b6ffed298a2
36 shall not be used in advertising or otherwise to promote the sale, 36 shall not be used in advertising or otherwise to promote the sale,
37 use or other dealings in this Software without prior written 37 use or other dealings in this Software without prior written
38 authorization. 38 authorization.
39 *) 39 *)
40 40
41 val repoint_version = "0.9.98" 41 val repoint_version = "1.0"
42 42
43 43
44 datatype vcs = 44 datatype vcs =
45 HG | 45 HG |
46 GIT | 46 GIT |
2623 OS.Process.success) 2623 OS.Process.success)
2624 2624
2625 fun usage () = 2625 fun usage () =
2626 (print "\nRepoint "; 2626 (print "\nRepoint ";
2627 version (); 2627 version ();
2628 print ("\nA simple manager for third-party source code dependencies.\n\n" 2628 print ("\n A simple manager for third-party source code dependencies.\n"
2629 ^ " http://all-day-breakfast.com/repoint/\n\n"
2629 ^ "Usage:\n\n" 2630 ^ "Usage:\n\n"
2630 ^ " repoint <command>\n\n" 2631 ^ " repoint <command>\n\n"
2631 ^ "where <command> is one of:\n\n" 2632 ^ "where <command> is one of:\n\n"
2632 ^ " status print quick report on local status only, without using network\n" 2633 ^ " status print quick report on local status only, without using network\n"
2633 ^ " review check configured libraries against their providers, and report\n" 2634 ^ " review check configured libraries against their providers, and report\n"
2634 ^ " install update configured libraries according to project specs and lock file\n" 2635 ^ " install update configured libraries according to project specs and lock file\n"
2635 ^ " update update configured libraries and lock file according to project specs\n" 2636 ^ " update update configured libraries and lock file according to project specs\n"
2636 ^ " lock update lock file to match local library status\n" 2637 ^ " lock rewrite lock file to match local library status\n"
2637 ^ " archive pack up project and all libraries into an archive file\n" 2638 ^ " archive pack up project and all libraries into an archive file:\n"
2638 ^ " (invoke as 'repoint archive target-file.tar.gz')\n" 2639 ^ " invoke as 'repoint archive targetfile.tar.gz --exclude unwanted.txt'\n"
2639 ^ " version print the Repoint version number and exit\n\n"); 2640 ^ " version print the Repoint version number and exit\n\n");
2640 OS.Process.failure) 2641 OS.Process.failure)
2641 2642
2642 fun archive target args = 2643 fun archive target args =
2643 case args of 2644 case args of