OCAMLIFY(1)
β¨ OCAMLIFY(1) β¨
User Commands Β· the one where your OCaml file gets β¨friendsβ¨
π NAME π
ocamlify β include files in OCaml code π
πΈ DESCRIPTION πΈ
okay bestie, imagine this: you're writing OCaml and you want some other file to just... be inside it. That's the whole gig. π
ocamlify v%%VERSION%% by Sylvain Le Gall π«Ά
Create an OCaml file including other file. Fr fr, that's it, that's the plot.
Usage:
ocamlify [options] option-file
π¦ heads up: the option file is a required argument, not a vibe. ocamlify [options] option-file β don't forget it.
π OPTIONS π
--var-string-listvarname file β Include file as a list of string, each string representing a line (without trailing EOL character). So like, one string per line, and the EOL is NOT invited to the party π--var-stringvarname file β Include file as a string. One whole string. All of it. Iconic. β¨--outputfile β Output file, default to standard output. No file given? She just yells it into stdout, main character energy π--dependsβ Output file dependencies. Tell me who you depend on, bestie π₯--targetfile β Define target of dependencies. Name the target, own the target β-helpβ Display this list of options. One dash. Yes, really. π--helpβ Display this list of options. Two dashes, same list, equally helpful π
π do NOT sleep on the difference between-helpand--helpβ they're both listed separately in the original and they both just display the list of options. Cute. Consistent. Chaotic.
and that's the whole page, bestie π
this was ocamlify 0.1.0 from July 2025, and yes that's literally the version and the date, no cap π§ go include some files πβ¨
π¦ where this page comes from
- fedora 43: ocamlify 0.1.0-3.fc43 Β· LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms