-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
- Loading branch information
Showing
3 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
$ echo "(lang dune 2.0)" > dune-project | ||
$ cat > dune <<EOF | ||
> (library (name foo) (libraries (select foo.ml from (!bar -> f.ml)))) | ||
> EOF | ||
$ dune build | ||
File "dune", line 1, characters 60-64: | ||
1 | (library (name foo) (libraries (select foo.ml from (!bar -> f.ml)))) | ||
^^^^ | ||
Error: The prefix for files in this select branch must be "foo." | ||
[1] | ||
$ cat > dune <<EOF | ||
> (library (name foo) (libraries (select foo.ml from (!bar -> foo.mli)))) | ||
> EOF | ||
$ dune build | ||
File "dune", line 1, characters 60-67: | ||
1 | (library (name foo) (libraries (select foo.ml from (!bar -> foo.mli)))) | ||
^^^^^^^ | ||
Error: The suffix for files in this select branch must be ".ml" | ||
[1] |