17 lines
392 B
Raku
17 lines
392 B
Raku
Reproduction case for #1342. Check that when the user edits files in
|
|
_build, things are rebuild as expected.
|
|
|
|
$ echo 42 > x
|
|
$ dune build x
|
|
$ cat _build/default/x
|
|
42
|
|
$ chmod u+w _build/default/x
|
|
$ echo 0 > _build/default/x
|
|
|
|
To force the mtime to change:
|
|
https://github.com/ocaml/dune/pull/1359
|
|
|
|
$ touch -t 01010000 _build/default/x
|
|
$ dune build x
|
|
$ cat _build/default/x
|
|
42
|