| 1 | (************************************************************************) |
| 2 | (* This file is licensed under The MIT License *) |
| 3 | (* See LICENSE for more information *) |
| 4 | (************************************************************************) |
| 5 | |
| 6 | type 'a pp = Format.formatter -> 'a -> unit |
| 7 | |
| 8 | module Rule : sig |
| 9 | type t = |
| 10 | { targets : string list |
| 11 | ; deps : string list |
| 12 | ; action : string |
| 13 | ; alias : string option |
| 14 | } |
| 15 | |
| 16 | val pp : t pp |
| 17 | end |
| 18 | |
| 19 | module Install : sig |
| 20 | type t = |
| 21 | { section : string |
| 22 | ; package : string |
| 23 | ; files : (string * string) list |
| 24 | (* (source as target) *) |
| 25 | } |
| 26 | |
| 27 | val pp : t pp |
| 28 | end |
| 29 | |
| 30 | module Subdir : sig |
| 31 | |
| 32 | type 'a t = { subdir : string; payload : 'a } |
| 33 | |
| 34 | val pp : 'a pp -> 'a t pp |
| 35 | end |