this repo has no description
1opam-version: "2.0"
2synopsis: "Compile-time \"if\" statement for conditional inclusion of code"
3description: """
4This is a ppx extension which adds `if#const` and `match#const` constructs to
5OCaml. They behave like normal `if` and `match`, but conditions are evaluated
6at compile time and AST sections not selected are excluded from the program
7completely. In conjunction with ppx_getenv, this can be used for conditional
8compilation of code.
9"""
10maintainer: ["Andi McClure <andi.m.mcclure@gmail.com>"]
11authors: ["Andi McClure <andi.m.mcclure@gmail.com>"]
12license: "Creative Commons Zero"
13tags: ["syntax"]
14homepage: "https://github.com/mcclure/ppx_const"
15bug-reports: "https://github.com/mcclure/ppx_const/issues"
16depends: [
17 "dune" {>= "2.0"}
18 "ocaml" {>= "4.04.0"}
19 "ppxlib" {>= "0.18.0"}
20 "ounit2" {with-test}
21 "ppx_getenv" {with-test & >= "2.0"}
22 "odoc" {with-doc}
23]
24build: [
25 ["dune" "subst"] {dev}
26 [
27 "dune"
28 "build"
29 "-p"
30 name
31 "-j"
32 jobs
33 "@install"
34 "@runtest" {with-test}
35 "@doc" {with-doc}
36 ]
37]
38dev-repo: "git+https://github.com/mcclure/ppx_const.git"
39url {
40 src: "https://github.com/mcclure/ppx_const/archive/ppx_const-2.0.1.tar.gz"
41 checksum: [
42 "md5=312df50473157aa8677506437180a496"
43 "sha512=b9ee4c3cb85277b60c4fe4aedae75e50cdefdc8b1e822f5ad0774a6cee25d1c866c3387379344c5eba7f80c883727e803973451b1f99290bf0edc05e7cdffe5f"
44 ]
45}