File: CONTRIBUTING.md

package info (click to toggle)
ocaml-odoc-parser 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 412 kB
  • sloc: ml: 6,515; makefile: 10; sh: 6
file content (26 lines) | stat: -rw-r--r-- 603 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributing

## Building and testing

`odoc-parser` uses [dune](https://dune.build/) to build and run tests. We use
inline expect tests with [ppx_expect](https://github.com/janestreet/ppx_expect) -
see the [test file](test/test.ml).

We require that the parser builds and tests pass on all versions of the OCaml
compiler from 4.02.3 onwards. This is tested on each pull request by
[ocaml-ci](https://github.com/ocurrent/ocaml-ci).

Build the project using

```sh
$ dune build
```

and test using

```sh
$ dune runtest
```

if the code has changed and the tests require updating, use `dune promote`.