this repo has no description
1opam-version: "2.0"
2maintainer: "anil@recoil.org"
3authors: ["Anil Madhavapeddy" "Thomas Gazagnaire"]
4homepage: "https://github.com/mirage/ocaml-crunch"
5bug-reports: "https://github.com/mirage/ocaml-crunch/issues"
6license: "ISC"
7dev-repo: "git+https://github.com/mirage/ocaml-crunch.git"
8tags: ["org:mirage" "org:xapi-project"]
9depends: [
10 "ocaml" {>= "4.03.0"}
11 "cmdliner"
12 "jbuilder" {>= "1.0+beta10"}
13 "cstruct" {with-test}
14 "lwt" {with-test}
15 "mirage-kv-lwt" {with-test & >= "1.0.0" & < "2.0.0"}
16 "io-page-unix" {with-test}
17]
18build: [
19 ["jbuilder" "subst" "-p" name] {dev}
20 ["jbuilder" "build" "-p" name "-j" jobs]
21 ["jbuilder" "runtest" "-p" name "-j" jobs] {with-test}
22]
23synopsis: "Convert a filesystem into a static OCaml module"
24description: """
25`ocaml-crunch` takes a directory of files and compiles them into a standalone
26OCaml module which serves the contents directly from memory. This can be
27convenient for libraries that need a few embedded files (such as a web server)
28and do not want to deal with all the trouble of file configuration.
29
30Run `man ocaml-crunch` or `ocaml-crunch --help` for more information:
31
32```
33NAME
34 ocaml-crunch - Convert a directory structure into a standalone OCaml
35 module that can serve the file contents without requiring an external
36 filesystem to be present.
37
38SYNOPSIS
39 ocaml-crunch [OPTION]... DIRECTORIES...
40
41ARGUMENTS
42 DIRECTORIES
43 Directories to recursively walk and crunch.
44
45OPTIONS
46 -e VALID EXTENSION, --ext=VALID EXTENSION
47 If specified, only these extensions will be included in the
48 crunched output. If not specified, then all files will be crunched
49 into the output module.
50
51 --help[=FMT] (default=pager)
52 Show this help in format FMT (pager, plain or groff).
53
54 -m MODE, --mode=MODE (absent=lwt)
55 Interface access mode: 'lwt' or 'plain'. 'lwt' is the default.
56
57 -o OUTPUT, --output=OUTPUT
58 Output file for the OCaml module.
59
60 --version
61 Show version information.
62
63BUGS
64 Email bug reports to <mirage-devel@lists.xenproject.org>.
65```"""
66url {
67 src:
68 "https://github.com/mirage/ocaml-crunch/releases/download/v2.1.0/crunch-2.1.0.tbz"
69 checksum: [
70 "sha256=d2a0258c57c1d0e1e426735d55efb8e471fdcd3d99c2e7a5d3ca6b65d90e12e9"
71 "md5=c93bb28306eb29faa3c36796e1c661eb"
72 ]
73}