We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1907b42 commit 21f5927Copy full SHA for 21f5927
test/blackbox-tests/test-cases/promote/non-existent-subdir.t
@@ -0,0 +1,19 @@
1
+Test of a rule that tries to promote to a source directory that doesn't exist.
2
+
3
+Taken from #3502
4
+ $ cat >dune-project <<EOF
5
+ > (lang dune 3.4)
6
+ > EOF
7
+ $ cat >dune <<EOF
8
+ > (subdir x
9
+ > (rule
10
+ > (mode (promote (until-clean)))
11
+ > (action (with-stdout-to y (echo "z")))))
12
13
+ $ dune build x/y
14
+ Error: x/.#y.dune-temp: No such file or directory
15
+ -> required by _build/default/x/y
16
+ [1]
17
+ $ cat x/y
18
+ cat: x/y: No such file or directory
19
0 commit comments