package mkocaml
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
md5=21a4915e821d2c80ce84d2090439c94a
sha512=93234dab34f6b498f893b6f0267810ed0c752c238a6e4e6efbc75a6bf38d5ba6a996dae682a401eb0c236b5a974f5e23db9cf4464b06f09abf4d8df9c80d931b
Description
Added to opam-repository:
README
🐪 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
- OCaml
.gitignore - Executable or Library with
inline-tests - Opam package
- Copy of the executable to
/usr/local/bin - Makefile with no nonsense commands
Install
opam install mkocamlExamples
Creating a new executable
> mkocaml -e new
> make
> new
Hello, World!Creating a new library
> mkocaml -l new
> makeMakefile
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 |
Opam File
git config is used to fill in details.
The project will be versioned at 1.0 by default. For subsequent releases, update the version in this file and Makefile (under the publish section).
Before publishing, ensure you fill in the synopsis section.
Contributions
Contributions to mkocaml are greatly appreciated! ❤️
Please try to keep its implementation unassuming and configurable. 🙂
Dev Dependencies
None
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building mkocaml with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 1.2 (this version) | good | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure