We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c19917f commit 1c359dfCopy full SHA for 1c359df
test/blackbox-tests/test-cases/directory-targets/cache-symlink.t
@@ -0,0 +1,32 @@
1
+Symlinks in directory targets should go in the shared cache.
2
+
3
+See #11523.
4
5
+ $ export DUNE_CACHE_ROOT=$PWD/.cache
6
+ $ export DUNE_CACHE=enabled
7
8
+ $ cat > dune-project << EOF
9
+ > (lang dune 3.0)
10
+ > (using directory-targets 0.1)
11
+ > EOF
12
13
+ $ cat > dune << EOF
14
+ > (rule
15
+ > (target (dir d))
16
+ > (action
17
+ > (progn
18
+ > (run mkdir -p d)
19
+ > (chdir d
20
21
+ > (echo building)
22
+ > (run touch target)
23
+ > (run ln -s target symlink))))))
24
25
26
+ $ dune build d
27
+ building
28
29
+ $ dune clean
30
31
32
0 commit comments