forked from ocaml/opam
-
Notifications
You must be signed in to change notification settings - Fork 4
/
P1-1.opam
45 lines (33 loc) · 1.03 KB
/
P1-1.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
35
36
37
38
39
40
41
42
43
44
45
(* API version *)
opam-version: "1"
name: "P1"
# Test
# Toto
(* Version are arbitrary strings *)
version: "1"
maintainer: "contact@ocamlpro.com"
(* The command to run *)
build: [
[ "./build.sh" ] # HAHAH
[ "this" "should" "never" "run" ] { ocaml-version > "100" }
[ make "this" ocaml-version "also" ] { os = "NO" }
[ "echo" "HAHA!" ] { ocaml-version = "10" }
[ "echo" make share ocaml-version ]
[ "this as well" { os = "myOS" } ]
]
os: [ !"NO" | ( !"NO" & !"YES") ]
ocaml-version: [ ="system" | ="20" | ="10" ]
(* List of files to substitute env variables *)
substs: [ "P1.config" ]
(* Libraries *)
libraries: [ "p1" ]
(* External dependencies *)
depexts: [
[ ["debian" "amd64"] ["foo" "bar"] ]
[ ["osx" ] ["foobar"] ]
]
messages: [ "I'll always bother you displaying this message" ]
post-messages: [ "Thanks SO MUCH for installing this humble package"
"Everything went well" {success}
"Nooo, something went wrong, this makes me feel sooo sad..." {failure} ]
bug-reports: "TEST.com"