Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /MLRISC/releases/release-110.84/makeall-new.sml
ViewVC logotype

Annotation of /MLRISC/releases/release-110.84/makeall-new.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4728 - (view) (download)

1 : leunga 744 (*
2 :     * Recompile everything in this directory
3 :     *)
4 :     (* CM.autoload "$/full-cm.cm"; *)
5 : leunga 775
6 :     (* Register the nowhere tool *)
7 :     CM.make "$smlnj/cm/tools.cm";
8 :     val _ = Tools.registerStdShellCmdTool
9 :     { tool = "Nowhere",
10 :     class = "nowhere",
11 :     suffixes = ["peep"],
12 :     cmdStdPath = "nowhere",
13 :     template = NONE,
14 :     extensionStyle =
15 :     Tools.REPLACE (["nowhere"], [("sml", SOME "sml", fn too => too)]),
16 :     dflopts = [] };
17 :    
18 : leunga 744 val current = ref "";
19 :     fun make f = (print("[Compiling "^f^"]\n"); current := f; CM.recomp("cm/"^f));
20 :     fun again _ = make(!current);
21 :     fun makeall [] = true
22 :     | makeall(f::fs) = make f andalso makeall fs
23 :     ;
24 :    
25 : leunga 775 fun set f = #set(CM.Anchor.anchor f) (SOME "cm");
26 :     val _ = app set files;
27 : leunga 744 val _ = makeall files;

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0