Install just, a command runner with similar syntax to make
.
-
bin
is where the executables live. Default is main, add more if needed and update dune file. -
lib
is for libraries. Change name in dune file.
-
just <watch|w> <default:main|executable-name> <default:exe|bc|bc.js >
to run continous compilation on changes. Aliased tojw
-
just <build|b> <default:main|executable-name> <default:exe|bc|bc.js>
for just building. Aliased tojb
-
just <exec|e> <default:main|executable-name> <default:exe|bc|bc.js>
for executing a bin. Aliased toje
-
just oi <name>
for installingname
from opam
-
Clone
-
rm -rf .git
&&git init
The is aliased to jml new <name>
, clones into name
and does the above.