crunchversion
Convert a filesystem into a static OCaml module
ocaml-crunch
takes a directory of files and compiles them into a standalone
OCaml module which serves the contents directly from memory. This can be
convenient for libraries that need a few embedded files (such as a web server)
and do not want to deal with all the trouble of file configuration.
Run man ocaml-crunch
or ocaml-crunch --help
for more information:
NAME
ocaml-crunch - Convert a directory structure into a standalone OCaml
module that can serve the file contents without requiring an external
filesystem to be present.
SYNOPSIS
ocaml-crunch [OPTION]... DIRECTORIES...
ARGUMENTS
DIRECTORIES
Directories to recursively walk and crunch.
OPTIONS
-e VALID EXTENSION, --ext=VALID EXTENSION
If specified, only these extensions will be included in the
crunched output. If not specified, then all files will be crunched
into the output module.
--help[=FMT] (default=pager)
Show this help in format FMT (pager, plain or groff).
-m MODE, --mode=MODE (absent=lwt)
Interface access mode: 'lwt' or 'plain'. 'lwt' is the default.
-o OUTPUT, --output=OUTPUT
Output file for the OCaml module.
--version
Show version information.
BUGS
Email bug reports to <mirage-devel@lists.xenproject.org>.
Tags | org:mirage org:xapi-project |
---|---|
Authors | Anil Madhavapeddy and Thomas Gazagnaire |
License | ISC |
Published | |
Homepage | https://github.com/mirage/ocaml-crunch |
Issue Tracker | https://github.com/mirage/ocaml-crunch/issues |
Maintainer | anil@recoil.org |
Dependencies |
|
Source [http] | https://github.com/mirage/ocaml-crunch/releases/download/v2.1.0/crunch-2.1.0.tbz sha256=d2a0258c57c1d0e1e426735d55efb8e471fdcd3d99c2e7a5d3ca6b65d90e12e9 md5=c93bb28306eb29faa3c36796e1c661eb |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/crunch/crunch.2.1.0/opam |
Required by
- cairn
- datakit-cibuild & !=0.12.0
- dreamwith-test & >=1.0.0~alpha2
- erisbuild
- graphql-cohttp
- graphql-lwt>=0.3.0 & <0.8.0
- iocaml
- irmin>=0.8.1 & <1.0.0
- irmin-http<2.0.0
- mirage>=2.0.0 & <2.4.0
- mirage-seal
- mirage-www>=1.1.0
- odoc>=2.2.0
- opium-graphqlbuild
- owidev & >=0.2
- pds
- queenshead
- slipshowwith-dev-setup
- spinbuild & >=0.6.0
- stone>=0.4.0
Optionally used by
- stog>=0.13.0 & <0.15.0