this repo has no description
1opam-version: "2.0" 2maintainer: "Andi McClure <andi.m.mcclure@gmail.com>" 3authors: "Andi McClure <andi.m.mcclure@gmail.com>" 4homepage: "https://github.com/mcclure/ppx_const" 5bug-reports: "https://github.com/mcclure/ppx_const/issues" 6license: "CC0-1.0+" 7tags: "syntax" 8dev-repo: "git+https://github.com/mcclure/ppx_const.git" 9substs: "pkg/META" 10build: [ 11 [ 12 "ocaml" 13 "pkg/build.ml" 14 "native=%{ocaml:native}%" 15 "native-dynlink=%{ocaml:native-dynlink}%" 16 ] 17 [ 18 "ocamlbuild" 19 "-classic-display" 20 "-use-ocamlfind" 21 "src_test/test_ppx_const.byte" 22 "--" 23 ] {with-test} 24] 25depends: [ 26 "ocaml" {>= "4.02.0" & < "4.11"} 27 "ppx_tools" {>= "0.99.1"} 28 "ounit" {with-test} 29 "ocamlfind" {build} 30 "ocamlbuild" {build} 31] 32synopsis: "Compile-time \"if\" statement for conditional inclusion of code." 33description: """ 34This is a ppx extension which adds an `if#const` construct to OCaml. It behaves 35like normal `if`, but the condition is evaluated at compile time and the AST 36section not selected is excluded from the program completely. In conjunction 37with ppx_getenv, this can be used for conditional compilation of code.""" 38url { 39 src: "https://github.com/mcclure/ppx_const/archive/ppx_const-1.0.tar.gz" 40 checksum: [ 41 "sha256=86bae9587a974199397459f0b08a5affd1d260a2f65c0e0f80308cdd58eba20d" 42 "md5=c1351efbb013eb656b0202ed021ee42b" 43 ] 44}