Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ryloric/ocaml-dune-skeleton

ocaml dune skeleton setup
https://github.com/ryloric/ocaml-dune-skeleton

ocaml scaffolding

Last synced: 9 days ago
JSON representation

ocaml dune skeleton setup

Awesome Lists containing this project

README

        

## Simple ocaml + dune setup skeleton.

Install [just](https://github.com/casey/just), a command runner with similar syntax to `make`.

### Overview

+ `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.

### Commands

+ `just ` to run continous compilation on changes. Aliased to `jw`

+ `just ` for just building. Aliased to `jb`

+ `just ` for executing a bin. Aliased to `je`

+ `just oi ` for installing `name` from opam

### Usage

+ Clone

+ `rm -rf .git` && `git init`

The is aliased to `jml new `, clones into `name` and does the above.