JS_OF_OCAML-BUILD-FS(1)

πŸ“¦
version 6.2.0 Β· 4 versions
, in ubuntu resolute

πŸ’– JS_OF_OCAML-BUILD-FS(1) πŸ’–

okay bestie, welcome to the Js_of_ocaml Manual ✨ β€” this is the page for js_of_ocaml-build-fs, and honestly? it's a little icon, a little legend, and it's about to make embedding files feel like a glow-up 🌸


✨ NAME ✨

js_of_ocaml-build-fs β€” the Js_of_ocaml pseudo filesystem utility πŸ¦‹


🌈 SYNOPSIS 🌈

js_of_ocaml build-fs [-I DIR] [-o FILE] [OPTION]… [FILES]…

πŸ’… DESCRIPTION πŸ’…

so jsoo_fs is the tool that lets you embed files inside a Js_of_ocaml pseudo filesystem. that's it, that's the whole vibe. you got files, you got a fake filesystem, and this little babe stitches them together 🧚 no cap.


πŸŽ€ ARGUMENTS πŸŽ€

  • FILES β€” the files you want to embed into the js_of_ocaml pseudo filesystem. yes, literally these. give them here. periodt πŸ’–

πŸ‘‘ OPTIONS πŸ‘‘

  • -I DIR β€” adds DIR to the list of include directories. lowkey essential if your files are hiding somewhere else ✨
  • -o FILE β€” sets the output file name to FILE. this one is required, bestie, it is not optional, it is giving main character energy and it will not be ignored 🚨 (required!!)

🌸 COMMON OPTIONS 🌸

  • --help[=FMT] (default=auto) β€” shows this help in format FMT. the value of FMT has to be one of auto, pager, groff or plain. and with auto, the format ends up being pager or plain whenever the TERM env var is dumb or just... not set at all. iykyk πŸ’…
  • --version β€” shows version information. that's it. cute, brief, iconic πŸŽ€

πŸ’€ EXIT STATUS πŸ’€

js_of_ocaml build-fs exits with:

  • 0 β€” on success πŸŽ‰ slay
  • 123 β€” on indiscriminate errors reported on standard error 😭
  • 124 β€” on command line parsing errors πŸ™ˆ
  • 125 β€” on unexpected internal errors (bugs) πŸ’€

πŸ› BUGS πŸ›

bugs are tracked on github at https://github.com/ocsigen/js_of_ocaml/issues β€” if you find one, go tell them, don't suffer in silence bestie 🫢


πŸ”₯ SEE ALSO πŸ”₯


⭐ AUTHORS ⭐

Jerome Vouillon, Hugo Heuzard. kings, honestly πŸ‘‘


πŸ“œ LICENSE πŸ“œ

Copyright (C) 2010-2020.

js_of_ocaml is free software, you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, with linking exception; either version 2.1 of the License, or (at your option) any later version.


and that's the whole page, bestie!! πŸ’– this was Js_of_ocaml 6.2.0 (the JS_OF_OCAML-BUILD-FS(1) manual page, in case you forgot which one you were reading, which, fair 🌸). go embed some files. i'm obsessed πŸ¦‹βœ¨πŸŽ€

πŸ“¦ where this page comes from