Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ryloric/ocaml-dune-skeleton
- Owner: ryloric
- Created: 2019-03-27T12:15:06.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-27T13:18:34.000Z (almost 6 years ago)
- Last Synced: 2024-11-09T01:18:13.802Z (2 months ago)
- Topics: ocaml, scaffolding
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
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.