File: contributing.mld

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 (27 lines) | stat: -rw-r--r-- 660 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
27
{0 Contributing}

{1 Building and testing}

[odoc-parser] uses {{: https://dune.build/} dune} to build and run tests. We use
inline expect tests with {{: https://github.com/janestreet/ppx_expect} ppx_expect} -
see the {{:https://github.com/ocaml-doc/odoc-parser/blob/main/test/test.ml}test file}.

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
{{: https://github.com/ocurrent/ocaml-ci} ocaml-ci}.

Build the project using

{[
$ dune build
]}

and test using

{[
$ dune runtest
]}

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