summaryrefslogtreecommitdiffstats
path: root/ocamlbuild/command.mli
diff options
context:
space:
mode:
Diffstat (limited to 'ocamlbuild/command.mli')
-rw-r--r--ocamlbuild/command.mli30
1 files changed, 30 insertions, 0 deletions
diff --git a/ocamlbuild/command.mli b/ocamlbuild/command.mli
new file mode 100644
index 000000000..5ad5302dd
--- /dev/null
+++ b/ocamlbuild/command.mli
@@ -0,0 +1,30 @@
+(***********************************************************************)
+(* ocamlbuild *)
+(* *)
+(* Nicolas Pouillard, Berke Durak, projet Gallium, INRIA Rocquencourt *)
+(* *)
+(* Copyright 2007 Institut National de Recherche en Informatique et *)
+(* en Automatique. All rights reserved. This file is distributed *)
+(* under the terms of the Q Public License version 1.0. *)
+(* *)
+(***********************************************************************)
+
+(* $Id$ *)
+(* Original author: Nicolas Pouillard *)
+(* Command *)
+
+(** Provides an abstract type for easily building complex shell commands without making
+ quotation mistakes. *)
+include Signatures.COMMAND with type tags = Tags.t
+
+(** {6 For system use only, not for the casual user} *)
+
+(** Same as [to_string]. *)
+val to_string_for_digest : t -> string
+
+(** Maximum number of parallel jobs. *)
+val jobs : int ref
+
+(** Hook here the function that maps a set of tags to appropriate command
+ options. It also build the dependencies that matches the tags. *)
+val tag_handler : (Tags.t -> spec) ref