simple build tool for small OCaml projects
cbt init <project name>to create a new projectcbt buildto build itcbt installto install it on your system
it is that simple
to see more details on each command, addhelpafter it
note: good luck with naming your project "help"!
to configure your project, simply declare your modules inside proj.cbt file:
# module modules to link with external packages
cbt ; modulename1, modulename2 ; base, stdio, unix
modulename1 ; modulename2, ; base, unix
modulename2 ; _ ; base, unix
the first line declares the main module that will be compiled into an executable file on build, and the project name gets derived from it
why not use dune? because i felt like it was an overkill for majority of projects i'm making
in order for ocaml-lsp to function properly without dune you will need to: