Install just, a command runner with similar syntax to make.
-
binis where the executables live. Default is main, add more if needed and update dune file. -
libis 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 installingnamefrom opam
-
Clone
-
rm -rf .git&&git init
The is aliased to jml new <name>, clones into name and does the above.