Skip to content

Commit

Permalink
Changed randomconv to fetch using pkgs.fetchFromGitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
emilpriver committed May 16, 2024
1 parent 315dbc7 commit a692547
Show file tree
Hide file tree
Showing 3 changed files with 320 additions and 1,125 deletions.
28 changes: 27 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ welcomed! This includes:

### Installing from Sources

#### Opam

To install Riot from sources, make sure to include all its dependencies:

```sh
Expand All @@ -30,12 +32,36 @@ You can run builds with:
; dune build
```

You can run all tests with
You can run all tests with:

```sh
; dune test
```

#### Nix

The only requirement is that you have nix installed with flakes enabled.

To build the project you can run:

```sh
; nix build
```

To enter a dev shell with all deps, utop, lsp, and dune installed, simply run:

```sh
; nix develop
```

Or if you're using direnv:

```sh
; echo 'use flake' >> .envrc && direnv allow
```

An example repo for creating new projects using riot and nix intended for those new to nix can be found [here](https://github.com/metame/nix_riot_example).

### Adding tests

If you want to add a test, you can do so by creating a new OCaml file in the
Expand Down
Loading

0 comments on commit a692547

Please sign in to comment.