@@ -4,21 +4,19 @@ Simple test
4
4
The `dune build` should generate the opam file
5
5
6
6
$ cat > dune-project << EOF
7
- > (lang dune 3.18 )
7
+ > (lang dune 1.10 )
8
8
> (version 1.0 . 0)
9
9
> (name cohttp)
10
10
> (source (github mirage/ ocaml-cohttp))
11
11
> (license ISC)
12
12
> (authors " Anil Madhavapeddy" " Rudi Grinberg" )
13
- > (maintenance_intent " (latest)" )
14
13
>
15
14
> (generate_opam_files true)
16
15
>
17
16
> (package
18
17
> (name cohttp)
19
18
> (synopsis " An OCaml library for HTTP clients and servers" )
20
19
> (description " A longer description" )
21
- > (allow_empty)
22
20
> (depends
23
21
> (alcotest : with-test)
24
22
> (foo (and : dev (> 1.5 ) (< 2.0 )))
@@ -34,7 +32,6 @@ The `dune build` should generate the opam file
34
32
> A really long multi line description that spans across lines to
35
33
> make sure that the rendering of long strings stays compatible.
36
34
> " )
37
- > (allow_empty)
38
35
> (depends
39
36
> (cohttp (>= 1.0 . 2))
40
37
> (conduit-async (>= 1.0 . 3))
@@ -48,7 +45,6 @@ The `dune build` should generate the opam file
48
45
> A really long description that is supposed to start with a
49
46
> newline since it doesn't escape the line break.
50
47
> " )
51
- > (allow_empty)
52
48
> (depends
53
49
> (cohttp (>= 1.0 . 2))
54
50
> (conduit-lwt (>= 1.0 . 3))
@@ -93,7 +89,6 @@ The `dune build` should generate the opam file
93
89
]
94
90
]
95
91
dev-repo: " git+https://github.com/mirage/ocaml-cohttp.git"
96
- x-maintenance-intent: [" (latest)" ]
97
92
98
93
$ cat cohttp-async. opam
99
94
# This file is generated by dune, edit dune-project instead
@@ -131,7 +126,6 @@ The `dune build` should generate the opam file
131
126
]
132
127
]
133
128
dev-repo: " git+https://github.com/mirage/ocaml-cohttp.git"
134
- x-maintenance-intent: [" (latest)" ]
135
129
136
130
$ cat cohttp-lwt. opam
137
131
# This file is generated by dune, edit dune-project instead
@@ -170,4 +164,3 @@ The `dune build` should generate the opam file
170
164
]
171
165
]
172
166
dev-repo: " git+https://github.com/mirage/ocaml-cohttp.git"
173
- x-maintenance-intent: [" (latest)" ]
0 commit comments