OBUILD-SIMPLE(1)

πŸ“¦
version 0.1.11 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing

πŸ¦‹ OBUILD-SIMPLE(1) πŸ¦‹

okay bestie, welcome to obuild-simple β€” the simple package build system for OCaml. yes, that's the whole manual name, and yes, it's giving "small but mighty." let's get into it πŸ’…


✨ NAME ✨

obuild-simple β€” simple package build system for OCaml 🫢


πŸ’– DESCRIPTION πŸ’–

the vibe is minimal. you hand it a file, it builds a file. here's the whole usage situation:

usage: obuild-simple [opts] main.ml

that's it, that's the dream 🌈. and here are all the [opts] you can sprinkle in, no cap:

πŸŽ€ OPTIONS πŸŽ€

  • --debug β€” activate build system debug πŸ› (turn on the little guy that tells you what's happening inside)
  • --native β€” build native executable πŸ”₯
  • --bytecode β€” build bytecode executable πŸ’€
  • -p β€” build with profiling πŸ“Š
  • -g β€” build with debugging πŸ”
  • --srcdir β€” where to find the ML sources (default: current directory) πŸ—‚οΈ
  • --cdir β€” where to find the C sources (default: current directory) πŸ—‚οΈ
  • --cinclude β€” append one path to the C include files βž•
  • --clibpath β€” append one path to the list of path βž•
  • --clib β€” append one system library πŸ“š
  • --cfile β€” append one c file πŸ“„
  • --cpkg β€” append one c pckage πŸ“¦ (yes it literally says pckage in the manual and honestly? iconic, we stan a typo πŸ₯°)
  • --dep β€” append one dependency πŸ”—
  • --deps x,y,z β€” append dependencies x, y and z πŸ”—πŸ”—πŸ”— (comma-separated, bestie, don't forget the commas)
  • --depends β€” append one dependency πŸ”— (yes, --dep and --depends both exist, they said "why choose" πŸ’…)
  • -help β€” Display this list of options πŸ“‹
  • --help β€” Display this list of options πŸ“‹ (same energy, different dashes, we love options)

pro tip from your girl: --help and -help do the exact same thing, so whichever dash count your fingers land on, you're safe πŸ’–

🌸 SEE YOU SOON 🌸

that's the whole page, bestie, no notes πŸ’œ

and for the credits moment β€” this little manual is from obuild-simple, dated May 2018, and it lives under the OBUILD-SIMPLE(1) manual section. slay, go build something πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from