This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,22 @@
|
|||
This test demonstrates the interaction between --ignore-promoted-rules and
|
||||
internal promote rules (like generating opam files)
|
||||
|
||||
Reported in #8417
|
||||
|
||||
$ cat >dune-project <<EOF
|
||||
> (lang dune 3.10)
|
||||
> (generate_opam_files true)
|
||||
> (package
|
||||
> (name foo))
|
||||
> EOF
|
||||
|
||||
$ dune build foo.opam
|
||||
$ echo foobar_extra >> foo.opam
|
||||
$ grep foobar_extra foo.opam
|
||||
foobar_extra
|
||||
|
||||
This should not modify the file now
|
||||
|
||||
$ dune build --ignore-promoted-rules foo.opam
|
||||
$ grep extra foo.opam
|
||||
[1]
|
||||
Loading…
Add table
Add a link
Reference in a new issue