Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rizo/onix-examples


https://github.com/rizo/onix-examples

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Onix Examples

This repository contains usage examples for [onix](https://github.com/rizo/onix) - a nix-based build tool for OCaml.

Every folder in this repository is a standalone example that demonstrates the different project scenarios.

Navigate to the folder of the example that you want to run and try some of the following commands.

### Start a development shell

```
$ make shell
$ dune build
```

### Regenerate a lock file

```
$ make lock
$ ls onix-lock.json
```

### Build root opam packages

```
$ make build
$ ls ./result
```