|
1 | 1 | the name field can be omitted for libraries when public_name is present
|
2 | 2 | $ dune build --root no-name-lib
|
3 |
| - File "dune", line 1, characters 9-26: |
4 |
| - Error: You cannot declare items to be installed without adding a <package>.opam file at the root of your project. |
5 |
| - To declare elements to be installed as part of package "foo", add a "foo.opam" file at the root of your project. |
6 |
| - [1] |
| 3 | + Entering directory 'no-name-lib' |
7 | 4 |
|
8 | 5 | this isn't possible for older syntax <= (1, 0)
|
9 | 6 | $ dune build --root no-name-lib-syntax-1-0
|
10 |
| - File "dune", line 1, characters 9-26: |
11 |
| - Error: You cannot declare items to be installed without adding a <package>.opam file at the root of your project. |
12 |
| - To declare elements to be installed as part of package "foo", add a "foo.opam" file at the root of your project. |
| 7 | + File "dune", line 1, characters 0-27: |
| 8 | + Error: name field cannot be omitted before version 1.1 |
13 | 9 | [1]
|
14 | 10 |
|
15 | 11 | executable(s) stanza works the same way
|
16 | 12 |
|
17 | 13 | $ dune build --root no-name-exes
|
18 |
| - File "exes/dune", line 1, characters 37-37: |
19 |
| - Error: unclosed parenthesis at end of input |
20 |
| - [1] |
| 14 | + Entering directory 'no-name-exes' |
21 | 15 |
|
22 | 16 | $ dune build --root no-name-exes-syntax-1-0
|
23 |
| - File "dune-project", line 1, characters 0-15: |
24 |
| - Error: Invalid first line, expected: (lang <lang> <version>) |
| 17 | + File "dune", line 1, characters 0-36: |
| 18 | + Error: name field may not be omitted before dune version 1.1 |
25 | 19 | [1]
|
0 commit comments