This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,3 @@
(alias
(name runtest)
(deps foobar))

View file

@ -0,0 +1,6 @@
Path in deps field of alias stanza
$ dune runtest
Error: No rule found for foobar
-> required by alias runtest in dune:1
[1]

View file

@ -0,0 +1,3 @@
(alias
(name runtest)
(action (run ./foo.exe)))

View file

@ -0,0 +1,6 @@
Exact path provided by the user:
$ dune runtest
Error: No rule found for foo.exe
-> required by alias runtest in dune:1
[1]

View file

@ -0,0 +1,3 @@
(alias
(name runtest)
(action (run foo-does-not-exist)))

View file

@ -0,0 +1,9 @@
Path that needs to be searched:
$ dune runtest
File "dune", line 3, characters 14-32:
3 | (action (run foo-does-not-exist)))
^^^^^^^^^^^^^^^^^^
Error: Program foo-does-not-exist not found in the tree or in PATH
(context: default)
[1]