This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,18 @@
|
|||
Dune should suggest similar aliases when it cannot find one.
|
||||
|
||||
$ cat > dune-project << EOF
|
||||
> (lang dune 3.7)
|
||||
> EOF
|
||||
$ cat > dune << EOF
|
||||
> (rule
|
||||
> (alias foo)
|
||||
> (action
|
||||
> (echo "Hello, world from \"foo\"!")))
|
||||
> EOF
|
||||
|
||||
We have an alias "foo" but let's try to build something misspeled:
|
||||
$ dune build @fou
|
||||
Error: Alias "fou" specified on the command line is empty.
|
||||
It is not defined in . or any of its descendants.
|
||||
Hint: did you mean fmt or foo?
|
||||
[1]
|
||||
Loading…
Add table
Add a link
Reference in a new issue