This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,2 @@
|
|||
(executable
|
||||
(name foo))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 2.0)
|
||||
|
|
@ -0,0 +1 @@
|
|||
print_string "foo"
|
||||
|
|
@ -0,0 +1 @@
|
|||
print_string "foo/bar"
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
(executable
|
||||
(name bar))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 2.0)
|
||||
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue