-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathppx_blob.opam
21 lines (21 loc) · 922 Bytes
/
ppx_blob.opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
opam-version: "2.0"
authors: "John Whitington"
maintainer: "[email protected]"
homepage: "https://github.com/johnwhitington/ppx_blob"
dev-repo: "git+https://github.com/johnwhitington/ppx_blob.git"
bug-reports: "https://github.com/johnwhitington/ppx_blob/issues/"
doc: "https://johnwhitington.github.io/ppx_blob/"
license: "Unlicense"
build: [
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
"ocaml" {>= "4.08"}
"dune" {>= "1.11"}
"ppxlib" {>= "0.9.0"}
"alcotest" {with-test}
]
synopsis: "Include a file as a string at compile time"
description:
"ppx_blob allows you to include a binary blob from a file as a string. Writing `[%blob \"filename\"]` will replace the string with the contents of the file at compile time. This allows the inclusion of arbitary, possibly compressed, data, without the need to respect OCaml's lexical conventions."