-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathocolor.opam
34 lines (33 loc) · 1.28 KB
/
ocolor.opam
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
opam-version: "2.0"
name: "ocolor"
version: "1.3.1"
synopsis: "Print with style in your terminal using Format's semantic tags"
maintainer: "Marc Chevalier <[email protected]>"
authors: "Marc Chevalier <[email protected]>"
depends: [
"ocaml" {>= "4.02.3"}
"dune" {>= "1.6.3"}
"cppo" {build & >= "1.6.5"}
"ounit2" {with-test & >= "2.0.8"}
]
build: [
["dune" "build" "-p" name "-j" jobs]
]
run-test: [
["dune" "runtest" "-p" name "-j" jobs]
]
homepage: "https://github.com/marc-chevalier/ocolor"
bug-reports: "https://github.com/marc-chevalier/ocolor/issues"
dev-repo: "git+https://github.com/marc-chevalier/ocolor.git"
license: "MIT"
description: """
This package provides a nice way to use ANSI escape codes thanks to Format's
semantic tags. This mode is compositional: ending a style restore the previous
one, instead of destroying everything.
This package also allows using directly ANSI escape codes (with Printf).
Note that this library does not intend to handle anything else than ANSI escape
codes (in particular, not the old Windows style of styling). Moreover, it aims
to be as pure as possible, so insensitive to the environment. As a consequence,
there is no mechanism to detect terminal's settings. However, some configuration
is possible, but must be done manually.
"""