forked from ocaml/dune
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun.t
15 lines (12 loc) · 879 Bytes
/
run.t
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
----------------------------------------------------------------------------------
Reveal all occurrences of non-latest (lang dune ...) version in documentation.
When changing Dune version, you need to update the docs too to make this test pass.
Occasionally we do want to mention an older Dune version in documentation. This
is fine, but you then need to update the list of such exceptions below.
$ DUNE_LANG=$(dune compute latest-lang-version | sed 's/"//g')
$ grep '(lang dune' ../*.rst | grep -v "$DUNE_LANG"
../formatting.rst:If using ``(lang dune 2.0)``, there is nothing to setup in dune, formatting will
../formatting.rst:.. note:: This section applies only to projects with ``(lang dune 1.x)``.
../formatting.rst:In ``(lang dune 1.x)``, no formatting is done by default. This feature is
../formatting.rst:(lang dune 2.0)
../tests.rst: (lang dune 2.7)