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,2 @@
(executable
(name foo))

View file

@ -0,0 +1,2 @@
(executable
(name bar))

View file

@ -0,0 +1,28 @@
when user tries to execute a current-dir-defined
executable without './' we suggest it
$ dune exec foo.exe --no-build
Error: Program 'foo.exe' not found!
Hint: did you mean ./foo.exe?
[1]
$ dune exec foo.exe
Error: Program 'foo.exe' not found!
Hint: did you mean ./foo.exe?
[1]
$ dune exec ./foo.exe
foo
$ (cd foo && dune exec bar.exe --no-build)
Error: Program 'bar.exe' not found!
Hint: did you mean ./bar.exe?
[1]
$ (cd foo && dune exec bar.exe)
Error: Program 'bar.exe' not found!
Hint: did you mean ./bar.exe?
[1]
$ (cd foo && dune exec ./bar.exe)
foo/bar