This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -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.