File: help.ml

package info (click to toggle)
ocaml-obuild 0.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,456 kB
  • sloc: ml: 14,491; sh: 211; ansic: 34; makefile: 11
file content (39 lines) | stat: -rw-r--r-- 1,151 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

let help_configure =
    [ "Configure --- Prepare to build the package"
    ; ""
    ; "Configure verify that the environment is able to compile the project"
    ; "and this is where the user can tell obuild options to build"
    ; ""
    ; "System settings and user settings are cached, to provide faster"
    ; "access for building task"
    ]

let help_clean =
    [ "Clean --- Cleanup after obuild"
    ; ""
    ; "Remove all by-product of compilation (.cmx, .cmi, .cmo, etc)"
    ; "and remove the dist directory."
    ]

let help_build =
    [ "Build --- Build every buildable bits"
    ; ""
    ; "Build all your different targets (library, executable,"
    ; "tests, benchmarks, example) that are marked as buildable."
    ]

let help_sdist =
    [ "Sdist --- Create a source distribution file (.tar.gz)"
    ; ""
    ; "generate a source distribution file .tar.gz that contains"
    ; "all the necessary bits to distribute to someone else"
    ; "and being able to build and install the package"
    ]

let help_messages =
    [ "clean", help_clean
    ; "configure", help_configure
    ; "build", help_build
    ; "sdist", help_sdist
    ]