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.9.0" & < "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.tar.gz" 41 checksum: [ 42 "md5=043067f1255e1c00412a4e2ede89329c" 43 "sha512=15852104aaf1587dd14b84df209eab513cda9c2a8f4c381a56ada3bb81100dace7514b9913b8e043acb8eebbd045a1baf1cd5cb7d9c53f5c04d3209afa617f69" 44 ] 45}