This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
(alias
|
||||
(name just-in-src)
|
||||
(deps (alias src/x)))
|
||||
|
||||
(alias
|
||||
(name everywhere)
|
||||
(deps (alias_rec x)))
|
||||
|
||||
(alias
|
||||
(name alias-depending-on-unknown-alias)
|
||||
(deps (alias unknown-alias)))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 1.0)
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
$ dune clean
|
||||
$ dune build @just-in-src
|
||||
running in .
|
||||
$ dune clean
|
||||
$ dune build @everywhere
|
||||
running in .
|
||||
running in bar
|
||||
running in baz
|
||||
$ dune clean
|
||||
$ dune build @x
|
||||
running in .
|
||||
running in bar
|
||||
running in baz
|
||||
$ dune build @plop
|
||||
Error: Alias "plop" specified on the command line is empty.
|
||||
It is not defined in . or any of its descendants.
|
||||
[1]
|
||||
$ dune build @truc/x
|
||||
Error: Don't know about directory truc specified on the command line!
|
||||
[1]
|
||||
|
||||
Test error messages for unknown aliases
|
||||
|
||||
$ dune build @unknown-alias
|
||||
Error: Alias "unknown-alias" specified on the command line is empty.
|
||||
It is not defined in . or any of its descendants.
|
||||
[1]
|
||||
|
||||
$ dune build @alias-depending-on-unknown-alias
|
||||
Error: No rule found for alias unknown-alias
|
||||
-> required by alias alias-depending-on-unknown-alias in dune:9
|
||||
[1]
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
(alias
|
||||
(name x)
|
||||
(action (chdir %{workspace_root} (echo "running in .\n"))))
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
(alias
|
||||
(name x)
|
||||
(action (chdir %{workspace_root} (echo "running in bar\n"))))
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
(alias
|
||||
(name x)
|
||||
(action (chdir %{workspace_root} (echo "running in baz\n"))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue