Skip to content

Commit 6379537

Browse files
committed
Update dune-project
Signed-off-by: Sora Morimoto <[email protected]>
1 parent 32f83df commit 6379537

5 files changed

+53
-68
lines changed

dune-project

+40-55
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,72 @@
11
(lang dune 2.7)
2-
32
(name tyxml)
3+
4+
(generate_opam_files true)
5+
6+
(maintainers "Ocsigen team <[email protected]>")
7+
(authors "Ocsigen team <[email protected]>")
48
(license "LGPL-2.1-only with OCaml-LGPL-linking-exception")
5-
(authors "The ocsigen team")
6-
(maintainers "[email protected]")
79
(source (github ocsigen/tyxml))
8-
(bug_reports "https://github.com/ocsigen/tyxml/issues")
9-
(homepage "https://github.com/ocsigen/tyxml")
1010
(documentation "https://ocsigen.org/tyxml/latest/manual/intro")
11-
(generate_opam_files true)
1211

1312
(package
1413
(name tyxml-jsx)
1514
(synopsis "JSX syntax to write TyXML documents")
1615
(description
17-
"\| ```reason
18-
"\| open Tyxml;
19-
"\| let to_reason = <a href=\"reasonml.github.io/\"> \"Reason!\" </a>
20-
"\| ```
21-
"\|
22-
"\| The TyXML JSX allow to write TyXML documents with reason's JSX syntax.
23-
"\| It works with textual trees, virtual DOM trees, or any TyXML module.
24-
)
16+
"```reason
17+
open Tyxml;
18+
let to_reason = <a href=\"reasonml.github.io/\"> \"Reason!\" </a>
19+
```
20+
21+
The TyXML JSX allow to write TyXML documents with reason's JSX syntax.
22+
It works with textual trees, virtual DOM trees, or any TyXML module.
23+
")
2524
(depends
26-
(ocaml
27-
(>= 4.04))
25+
(ocaml (>= 4.04))
2826
(tyxml (= :version))
2927
(tyxml-syntax (= :version))
28+
(ppxlib (>= 0.18))
3029
(alcotest :with-test)
31-
(reason :with-test)
32-
(ppxlib
33-
(>= 0.18))))
30+
(reason :with-test)))
3431

3532
(package
3633
(name tyxml-ppx)
3734
(synopsis "PPX to write TyXML documents with the HTML syntax")
3835
(description
39-
"\| ```ocaml
40-
"\| open Tyxml
41-
"\| let%html to_ocaml = \"<a href='ocaml.org'>OCaml!</a>\"
42-
"\| ```
43-
"\|
44-
"\| The TyXML PPX allow to write TyXML documents using the traditional HTML syntax.
45-
"\| It works with textual trees, virtual DOM trees, or any TyXML module.
46-
)
36+
"```ocaml
37+
open Tyxml
38+
let%html to_ocaml = \"<a href='ocaml.org'>OCaml!</a>\"
39+
```
40+
41+
The TyXML PPX allow to write TyXML documents using the traditional HTML syntax.
42+
It works with textual trees, virtual DOM trees, or any TyXML module.
43+
")
4744
(depends
48-
(ocaml
49-
(>= 4.04))
45+
(ocaml (>= 4.04))
5046
(tyxml (= :version))
5147
(tyxml-syntax (= :version))
52-
(alcotest :with-test)
53-
(markup
54-
(>= 0.7.2))
55-
(ppxlib
56-
(>= 0.18))
57-
(re
58-
(>= 1.5.0))))
48+
(markup (>= 0.7.2))
49+
(ppxlib (>= 0.18))
50+
(re (>= 1.5.0))
51+
(alcotest :with-test)))
5952

6053
(package
6154
(name tyxml-syntax)
6255
(synopsis "Common layer for the JSX and PPX syntaxes for Tyxml")
6356
(depends
64-
(ocaml
65-
(>= 4.03))
66-
(alcotest :with-test)
67-
(ppxlib
68-
(>= 0.18))
69-
(re
70-
(>= 1.5.0))
71-
(uutf
72-
(>= 1.0.0))))
57+
(ocaml (>= 4.03))
58+
(ppxlib (>= 0.18))
59+
(re (>= 1.5.0))
60+
(uutf (>= 1.0.0))
61+
(alcotest :with-test)))
7362

7463
(package
7564
(name tyxml)
7665
(synopsis "A library for building correct HTML and SVG documents")
77-
(description
78-
"TyXML provides a set of convenient combinators that uses the OCaml type system to ensure the validity of the generated documents. TyXML can be used with any representation of HTML and SVG: the textual one, provided directly by this package, or DOM trees (`js_of_ocaml-tyxml`) virtual DOM (`virtual-dom`) and reactive or replicated trees (`eliom`). You can also create your own representation and use it to instantiate a new set of combinators.")
66+
(description "TyXML provides a set of convenient combinators that uses the OCaml type system to ensure the validity of the generated documents. TyXML can be used with any representation of HTML and SVG: the textual one, provided directly by this package, or DOM trees (`js_of_ocaml-tyxml`) virtual DOM (`virtual-dom`) and reactive or replicated trees (`eliom`). You can also create your own representation and use it to instantiate a new set of combinators.")
7967
(depends
80-
(ocaml
81-
(>= 4.03))
82-
(alcotest :with-test)
83-
(re
84-
(>= 1.5.0))
85-
seq
86-
(uutf
87-
(>= 1.0.0))))
68+
(ocaml (>= 4.03))
69+
(re (>= 1.5.0))
70+
(uutf (>= 1.0.0))
71+
seq
72+
(alcotest :with-test)))

tyxml-jsx.opam

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ let to_reason = <a href="reasonml.github.io/"> "Reason!" </a>
1010
The TyXML JSX allow to write TyXML documents with reason's JSX syntax.
1111
It works with textual trees, virtual DOM trees, or any TyXML module.
1212
"""
13-
maintainer: ["[email protected]"]
14-
authors: ["The ocsigen team"]
13+
maintainer: ["Ocsigen team <[email protected]>"]
14+
authors: ["Ocsigen team <[email protected]>"]
1515
license: "LGPL-2.1-only with OCaml-LGPL-linking-exception"
1616
homepage: "https://github.com/ocsigen/tyxml"
1717
doc: "https://ocsigen.org/tyxml/latest/manual/intro"
@@ -21,9 +21,9 @@ depends: [
2121
"ocaml" {>= "4.04"}
2222
"tyxml" {= version}
2323
"tyxml-syntax" {= version}
24+
"ppxlib" {>= "0.18"}
2425
"alcotest" {with-test}
2526
"reason" {with-test}
26-
"ppxlib" {>= "0.18"}
2727
"odoc" {with-doc}
2828
]
2929
build: [

tyxml-ppx.opam

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ let%html to_ocaml = "<a href='ocaml.org'>OCaml!</a>"
1010
The TyXML PPX allow to write TyXML documents using the traditional HTML syntax.
1111
It works with textual trees, virtual DOM trees, or any TyXML module.
1212
"""
13-
maintainer: ["[email protected]"]
14-
authors: ["The ocsigen team"]
13+
maintainer: ["Ocsigen team <[email protected]>"]
14+
authors: ["Ocsigen team <[email protected]>"]
1515
license: "LGPL-2.1-only with OCaml-LGPL-linking-exception"
1616
homepage: "https://github.com/ocsigen/tyxml"
1717
doc: "https://ocsigen.org/tyxml/latest/manual/intro"
@@ -21,10 +21,10 @@ depends: [
2121
"ocaml" {>= "4.04"}
2222
"tyxml" {= version}
2323
"tyxml-syntax" {= version}
24-
"alcotest" {with-test}
2524
"markup" {>= "0.7.2"}
2625
"ppxlib" {>= "0.18"}
2726
"re" {>= "1.5.0"}
27+
"alcotest" {with-test}
2828
"odoc" {with-doc}
2929
]
3030
build: [

tyxml-syntax.opam

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# This file is generated by dune, edit dune-project instead
22
opam-version: "2.0"
33
synopsis: "Common layer for the JSX and PPX syntaxes for Tyxml"
4-
maintainer: ["[email protected]"]
5-
authors: ["The ocsigen team"]
4+
maintainer: ["Ocsigen team <[email protected]>"]
5+
authors: ["Ocsigen team <[email protected]>"]
66
license: "LGPL-2.1-only with OCaml-LGPL-linking-exception"
77
homepage: "https://github.com/ocsigen/tyxml"
88
doc: "https://ocsigen.org/tyxml/latest/manual/intro"
99
bug-reports: "https://github.com/ocsigen/tyxml/issues"
1010
depends: [
1111
"dune" {>= "2.7"}
1212
"ocaml" {>= "4.03"}
13-
"alcotest" {with-test}
1413
"ppxlib" {>= "0.18"}
1514
"re" {>= "1.5.0"}
1615
"uutf" {>= "1.0.0"}
16+
"alcotest" {with-test}
1717
"odoc" {with-doc}
1818
]
1919
build: [

tyxml.opam

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ opam-version: "2.0"
33
synopsis: "A library for building correct HTML and SVG documents"
44
description:
55
"TyXML provides a set of convenient combinators that uses the OCaml type system to ensure the validity of the generated documents. TyXML can be used with any representation of HTML and SVG: the textual one, provided directly by this package, or DOM trees (`js_of_ocaml-tyxml`) virtual DOM (`virtual-dom`) and reactive or replicated trees (`eliom`). You can also create your own representation and use it to instantiate a new set of combinators."
6-
maintainer: ["[email protected]"]
7-
authors: ["The ocsigen team"]
6+
maintainer: ["Ocsigen team <[email protected]>"]
7+
authors: ["Ocsigen team <[email protected]>"]
88
license: "LGPL-2.1-only with OCaml-LGPL-linking-exception"
99
homepage: "https://github.com/ocsigen/tyxml"
1010
doc: "https://ocsigen.org/tyxml/latest/manual/intro"
1111
bug-reports: "https://github.com/ocsigen/tyxml/issues"
1212
depends: [
1313
"dune" {>= "2.7"}
1414
"ocaml" {>= "4.03"}
15-
"alcotest" {with-test}
1615
"re" {>= "1.5.0"}
17-
"seq"
1816
"uutf" {>= "1.0.0"}
17+
"seq"
18+
"alcotest" {with-test}
1919
"odoc" {with-doc}
2020
]
2121
build: [

0 commit comments

Comments
 (0)