This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,25 @@
|
|||
Reproduction case for #1560: by default, `dune` files inside the .git
|
||||
directory should be ignored
|
||||
|
||||
$ echo '(lang dune 1.6)' > dune-project
|
||||
$ mkdir .git
|
||||
$ echo 'invalid dune file' > .git/dune
|
||||
|
||||
The invalid `dune` fine should be ignored:
|
||||
|
||||
$ dune build
|
||||
|
||||
Testing in presence of an empty `dune` file:
|
||||
|
||||
$ echo > dune
|
||||
$ dune build
|
||||
|
||||
Testing in presence of an `ignored_subdirs` stanza:
|
||||
|
||||
$ echo '(ignored_subdirs (blah))' > dune
|
||||
$ dune build
|
||||
File "dune", line 1, characters 17-23:
|
||||
1 | (ignored_subdirs (blah))
|
||||
^^^^^^
|
||||
Warning: ignored_subdirs is deprecated in 1.6. Use dirs to specify visible
|
||||
directories or data_only_dirs for ignoring only dune files.
|
||||
Loading…
Add table
Add a link
Reference in a new issue