-
Notifications
You must be signed in to change notification settings - Fork 62
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: Sora Morimoto <[email protected]>
- Loading branch information
Showing
5 changed files
with
53 additions
and
68 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,87 +1,72 @@ | ||
(lang dune 2.7) | ||
|
||
(name tyxml) | ||
|
||
(generate_opam_files true) | ||
|
||
(maintainers "Ocsigen team <[email protected]>") | ||
(authors "Ocsigen team <[email protected]>") | ||
(license "LGPL-2.1-only with OCaml-LGPL-linking-exception") | ||
(authors "The ocsigen team") | ||
(maintainers "[email protected]") | ||
(source (github ocsigen/tyxml)) | ||
(bug_reports "https://github.com/ocsigen/tyxml/issues") | ||
(homepage "https://github.com/ocsigen/tyxml") | ||
(documentation "https://ocsigen.org/tyxml/latest/manual/intro") | ||
(generate_opam_files true) | ||
|
||
(package | ||
(name tyxml-jsx) | ||
(synopsis "JSX syntax to write TyXML documents") | ||
(description | ||
"\| ```reason | ||
"\| open Tyxml; | ||
"\| let to_reason = <a href=\"reasonml.github.io/\"> \"Reason!\" </a> | ||
"\| ``` | ||
"\| | ||
"\| The TyXML JSX allow to write TyXML documents with reason's JSX syntax. | ||
"\| It works with textual trees, virtual DOM trees, or any TyXML module. | ||
) | ||
"```reason | ||
open Tyxml; | ||
let to_reason = <a href=\"reasonml.github.io/\"> \"Reason!\" </a> | ||
``` | ||
The TyXML JSX allow to write TyXML documents with reason's JSX syntax. | ||
It works with textual trees, virtual DOM trees, or any TyXML module. | ||
") | ||
(depends | ||
(ocaml | ||
(>= 4.04)) | ||
(ocaml (>= 4.04)) | ||
(tyxml (= :version)) | ||
(tyxml-syntax (= :version)) | ||
(ppxlib (>= 0.18)) | ||
(alcotest :with-test) | ||
(reason :with-test) | ||
(ppxlib | ||
(>= 0.18)))) | ||
(reason :with-test))) | ||
|
||
(package | ||
(name tyxml-ppx) | ||
(synopsis "PPX to write TyXML documents with the HTML syntax") | ||
(description | ||
"\| ```ocaml | ||
"\| open Tyxml | ||
"\| let%html to_ocaml = \"<a href='ocaml.org'>OCaml!</a>\" | ||
"\| ``` | ||
"\| | ||
"\| The TyXML PPX allow to write TyXML documents using the traditional HTML syntax. | ||
"\| It works with textual trees, virtual DOM trees, or any TyXML module. | ||
) | ||
"```ocaml | ||
open Tyxml | ||
let%html to_ocaml = \"<a href='ocaml.org'>OCaml!</a>\" | ||
``` | ||
The TyXML PPX allow to write TyXML documents using the traditional HTML syntax. | ||
It works with textual trees, virtual DOM trees, or any TyXML module. | ||
") | ||
(depends | ||
(ocaml | ||
(>= 4.04)) | ||
(ocaml (>= 4.04)) | ||
(tyxml (= :version)) | ||
(tyxml-syntax (= :version)) | ||
(alcotest :with-test) | ||
(markup | ||
(>= 0.7.2)) | ||
(ppxlib | ||
(>= 0.18)) | ||
(re | ||
(>= 1.5.0)))) | ||
(markup (>= 0.7.2)) | ||
(ppxlib (>= 0.18)) | ||
(re (>= 1.5.0)) | ||
(alcotest :with-test))) | ||
|
||
(package | ||
(name tyxml-syntax) | ||
(synopsis "Common layer for the JSX and PPX syntaxes for Tyxml") | ||
(depends | ||
(ocaml | ||
(>= 4.03)) | ||
(alcotest :with-test) | ||
(ppxlib | ||
(>= 0.18)) | ||
(re | ||
(>= 1.5.0)) | ||
(uutf | ||
(>= 1.0.0)))) | ||
(ocaml (>= 4.03)) | ||
(ppxlib (>= 0.18)) | ||
(re (>= 1.5.0)) | ||
(uutf (>= 1.0.0)) | ||
(alcotest :with-test))) | ||
|
||
(package | ||
(name tyxml) | ||
(synopsis "A library for building correct HTML and SVG documents") | ||
(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.") | ||
(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.") | ||
(depends | ||
(ocaml | ||
(>= 4.03)) | ||
(alcotest :with-test) | ||
(re | ||
(>= 1.5.0)) | ||
seq | ||
(uutf | ||
(>= 1.0.0)))) | ||
(ocaml (>= 4.03)) | ||
(re (>= 1.5.0)) | ||
(uutf (>= 1.0.0)) | ||
seq | ||
(alcotest :with-test))) |
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 |
---|---|---|
|
@@ -10,8 +10,8 @@ let to_reason = <a href="reasonml.github.io/"> "Reason!" </a> | |
The TyXML JSX allow to write TyXML documents with reason's JSX syntax. | ||
It works with textual trees, virtual DOM trees, or any TyXML module. | ||
""" | ||
maintainer: ["[email protected]"] | ||
authors: ["The ocsigen team"] | ||
maintainer: ["Ocsigen team <[email protected]>"] | ||
authors: ["Ocsigen team <[email protected]>"] | ||
license: "LGPL-2.1-only with OCaml-LGPL-linking-exception" | ||
homepage: "https://github.com/ocsigen/tyxml" | ||
doc: "https://ocsigen.org/tyxml/latest/manual/intro" | ||
|
@@ -21,9 +21,9 @@ depends: [ | |
"ocaml" {>= "4.04"} | ||
"tyxml" {= version} | ||
"tyxml-syntax" {= version} | ||
"ppxlib" {>= "0.18"} | ||
"alcotest" {with-test} | ||
"reason" {with-test} | ||
"ppxlib" {>= "0.18"} | ||
"odoc" {with-doc} | ||
] | ||
build: [ | ||
|
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 |
---|---|---|
|
@@ -10,8 +10,8 @@ let%html to_ocaml = "<a href='ocaml.org'>OCaml!</a>" | |
The TyXML PPX allow to write TyXML documents using the traditional HTML syntax. | ||
It works with textual trees, virtual DOM trees, or any TyXML module. | ||
""" | ||
maintainer: ["[email protected]"] | ||
authors: ["The ocsigen team"] | ||
maintainer: ["Ocsigen team <[email protected]>"] | ||
authors: ["Ocsigen team <[email protected]>"] | ||
license: "LGPL-2.1-only with OCaml-LGPL-linking-exception" | ||
homepage: "https://github.com/ocsigen/tyxml" | ||
doc: "https://ocsigen.org/tyxml/latest/manual/intro" | ||
|
@@ -21,10 +21,10 @@ depends: [ | |
"ocaml" {>= "4.04"} | ||
"tyxml" {= version} | ||
"tyxml-syntax" {= version} | ||
"alcotest" {with-test} | ||
"markup" {>= "0.7.2"} | ||
"ppxlib" {>= "0.18"} | ||
"re" {>= "1.5.0"} | ||
"alcotest" {with-test} | ||
"odoc" {with-doc} | ||
] | ||
build: [ | ||
|
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 |
---|---|---|
@@ -1,19 +1,19 @@ | ||
# This file is generated by dune, edit dune-project instead | ||
opam-version: "2.0" | ||
synopsis: "Common layer for the JSX and PPX syntaxes for Tyxml" | ||
maintainer: ["[email protected]"] | ||
authors: ["The ocsigen team"] | ||
maintainer: ["Ocsigen team <[email protected]>"] | ||
authors: ["Ocsigen team <[email protected]>"] | ||
license: "LGPL-2.1-only with OCaml-LGPL-linking-exception" | ||
homepage: "https://github.com/ocsigen/tyxml" | ||
doc: "https://ocsigen.org/tyxml/latest/manual/intro" | ||
bug-reports: "https://github.com/ocsigen/tyxml/issues" | ||
depends: [ | ||
"dune" {>= "2.7"} | ||
"ocaml" {>= "4.03"} | ||
"alcotest" {with-test} | ||
"ppxlib" {>= "0.18"} | ||
"re" {>= "1.5.0"} | ||
"uutf" {>= "1.0.0"} | ||
"alcotest" {with-test} | ||
"odoc" {with-doc} | ||
] | ||
build: [ | ||
|
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 |
---|---|---|
|
@@ -3,19 +3,19 @@ opam-version: "2.0" | |
synopsis: "A library for building correct HTML and SVG documents" | ||
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." | ||
maintainer: ["[email protected]"] | ||
authors: ["The ocsigen team"] | ||
maintainer: ["Ocsigen team <[email protected]>"] | ||
authors: ["Ocsigen team <[email protected]>"] | ||
license: "LGPL-2.1-only with OCaml-LGPL-linking-exception" | ||
homepage: "https://github.com/ocsigen/tyxml" | ||
doc: "https://ocsigen.org/tyxml/latest/manual/intro" | ||
bug-reports: "https://github.com/ocsigen/tyxml/issues" | ||
depends: [ | ||
"dune" {>= "2.7"} | ||
"ocaml" {>= "4.03"} | ||
"alcotest" {with-test} | ||
"re" {>= "1.5.0"} | ||
"seq" | ||
"uutf" {>= "1.0.0"} | ||
"seq" | ||
"alcotest" {with-test} | ||
"odoc" {with-doc} | ||
] | ||
build: [ | ||
|