This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,25 @@
|
|||
$ cat > dune-project << EOF
|
||||
> (lang dune 3.8)
|
||||
> EOF
|
||||
|
||||
$ cat > dune << EOF
|
||||
> (test
|
||||
> (name t)
|
||||
> (build_if true))
|
||||
> EOF
|
||||
|
||||
$ touch t.ml
|
||||
|
||||
$ dune build
|
||||
File "dune", line 3, characters 1-16:
|
||||
3 | (build_if true))
|
||||
^^^^^^^^^^^^^^^
|
||||
Error: 'build_if' is only available since version 3.9 of the dune language.
|
||||
Please update your dune-project file to have (lang dune 3.9).
|
||||
[1]
|
||||
|
||||
$ cat > dune-project << EOF
|
||||
> (lang dune 3.9)
|
||||
> EOF
|
||||
|
||||
$ dune build
|
||||
Loading…
Add table
Add a link
Reference in a new issue