package mkocaml
Tool to generate OCaml projects
Install
Dune Dependency
Authors
Maintainers
Sources
1.0.tar.gz
md5=5528c6dfd160fbe1695ad92457bb83e7
sha512=734ca93b96b4b166867b1deae8e2a81bbbd3f2d7956179248229a2a320a5bbc28f5fc953a2b6f185852fba61d23f7e2f99a6bafbfb26125200e54ac954e8d846
doc/README.html
🐪 Mkocaml
A simple helper I use to generate OCaml projects. I constantly find myself struggling to remember dune
commands for various tasks and how to setup opam files. This project is intended to solve that and make setup quicker.
This tool generates:
- Git repository
- Git ignore
- Executable/Library
- Opam package
- Copy of the executable to
/usr/local/bin
- Makefile with no nonsense commands
Makefile command | Description |
---|---|
| Builds the project with dune, copies exe to |
| Installs the dune projects |
| Runs unit tests |
| Cleans the project with dune |
| Generates the documentation for the project |
| Publishes the opam package |
Example
Creating a new executable
> mkocaml -e new
> make
> new
Hello, World!
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>