package crunch
Convert a filesystem into a static OCaml module
Install
Dune Dependency
Authors
Maintainers
Sources
crunch-v3.1.0.tbz
sha256=ced263b2fee874347159ebb10c8f553354908cef2230bb220f3941a24a384634
sha512=30267de603537e8dc5528d9a43e4d5c0baaf3bf9a9332ce8ac897ca14cff0dd543f8b0d508d720f45f3b0e8c8bc757684d2b53196e3dd009743a2779d72fcb1d
README.md.html
ocaml-crunch -- 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>.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>