-
Notifications
You must be signed in to change notification settings - Fork 176
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
6 changed files
with
152 additions
and
93 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 +1,59 @@ | ||
(lang dune 1.8) | ||
(lang dune 1.12) | ||
|
||
(name lwt) | ||
|
||
(generate_opam_files true) | ||
|
||
(maintainers | ||
"Raphaël Proust <[email protected]>" | ||
"Anton Bachin <[email protected]>") | ||
(authors "Jérôme Vouillon" "Jérémie Dimino") | ||
(license MIT) | ||
(source (github ocsigen/lwt)) | ||
(documentation "https://ocsigen.org/lwt") | ||
|
||
(package | ||
(name lwt_ppx_let) | ||
(synopsis "Dummy package context for ppx_let tests") | ||
(description "Internal package used to partition ppx_let tests.") | ||
(depends | ||
(ocaml (>= 4.08)) | ||
(ppx_let :with-test) | ||
lwt)) | ||
|
||
(package | ||
(name lwt_ppx) | ||
(synopsis "PPX syntax for Lwt, providing something similar to async/await from JavaScript") | ||
(depends | ||
(ocaml (>= 4.08)) | ||
(ppxlib (>= 0.16.0)) | ||
lwt)) | ||
|
||
(package | ||
(name lwt_react) | ||
(synopsis "Helpers for using React with Lwt") | ||
(depends | ||
(ocaml (>= 4.08)) | ||
(cppo (and :build (>= 1.1.0))) | ||
(lwt (>= 3.0.0)) | ||
(react (>= 1.0.0)))) | ||
|
||
(package | ||
(name lwt) | ||
(synopsis "Promises and event-driven I/O") | ||
(description "A promise is a value that may become determined in the future. | ||
Lwt provides typed, composable promises. Promises that are resolved by I/O are | ||
resolved by Lwt in parallel. | ||
Meanwhile, OCaml code, including code creating and waiting on promises, runs in | ||
a single thread by default. This reduces the need for locks or other | ||
synchronization primitives. Code can be run in parallel on an opt-in basis. | ||
") | ||
(depends | ||
(ocaml (>= 4.08)) | ||
(cppo (and :build (>= 1.1.0))) | ||
(ocamlfind (and :dev (>= 1.7.3-1))) | ||
dune-configurator | ||
ocplib-endian) | ||
(depopts base-threads base-unix conf-libev)) |
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,52 +1,35 @@ | ||
# This file is generated by dune, edit dune-project instead | ||
opam-version: "2.0" | ||
|
||
synopsis: "Promises and event-driven I/O" | ||
description: """ | ||
A promise is a value that may become determined in the future. | ||
|
||
Lwt provides typed, composable promises. Promises that are resolved by I/O are | ||
resolved by Lwt in parallel. | ||
|
||
version: "5.7.0" | ||
Meanwhile, OCaml code, including code creating and waiting on promises, runs in | ||
a single thread by default. This reduces the need for locks or other | ||
synchronization primitives. Code can be run in parallel on an opt-in basis. | ||
""" | ||
maintainer: [ | ||
"Raphaël Proust <[email protected]>" "Anton Bachin <[email protected]>" | ||
] | ||
authors: ["Jérôme Vouillon" "Jérémie Dimino"] | ||
license: "MIT" | ||
homepage: "https://github.com/ocsigen/lwt" | ||
doc: "https://ocsigen.org/lwt" | ||
bug-reports: "https://github.com/ocsigen/lwt/issues" | ||
|
||
authors: [ | ||
"Jérôme Vouillon" | ||
"Jérémie Dimino" | ||
] | ||
maintainer: [ | ||
"Raphaël Proust <[email protected]>" | ||
"Anton Bachin <[email protected]>" | ||
] | ||
dev-repo: "git+https://github.com/ocsigen/lwt.git" | ||
|
||
depends: [ | ||
"dune" {>= "1.12"} | ||
"ocaml" {>= "4.08"} | ||
"cppo" {build & >= "1.1.0"} | ||
"dune" {>= "1.8.0"} | ||
"ocamlfind" {dev & >= "1.7.3-1"} | ||
"dune-configurator" | ||
"ocaml" {>= "4.08"} | ||
"ocplib-endian" | ||
|
||
# Until https://github.com/aantron/bisect_ppx/pull/327. | ||
# "bisect_ppx" {dev & >= "2.0.0"} | ||
"ocamlfind" {dev & >= "1.7.3-1"} | ||
] | ||
|
||
depopts: [ | ||
"base-threads" | ||
"base-unix" | ||
"conf-libev" | ||
] | ||
|
||
depopts: ["base-threads" "base-unix" "conf-libev"] | ||
dev-repo: "git+https://github.com/ocsigen/lwt.git" | ||
build: [ | ||
["dune" "exec" "-p" name "src/unix/config/discover.exe" "--" "--save" | ||
"--use-libev" "%{conf-libev:installed}%"] | ||
["dune" "exec" "-p" name "src/unix/config/discover.exe" "--" "--save" "--use-libev" "%{conf-libev:installed}%"] | ||
["dune" "build" "-p" name "-j" jobs] | ||
] | ||
|
||
description: "A promise is a value that may become determined in the future. | ||
|
||
Lwt provides typed, composable promises. Promises that are resolved by I/O are | ||
resolved by Lwt in parallel. | ||
|
||
Meanwhile, OCaml code, including code creating and waiting on promises, runs in | ||
a single thread by default. This reduces the need for locks or other | ||
synchronization primitives. Code can be run in parallel on an opt-in basis." |
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,4 @@ | ||
build: [ | ||
["dune" "exec" "-p" name "src/unix/config/discover.exe" "--" "--save" "--use-libev" "%{conf-libev:installed}%"] | ||
["dune" "build" "-p" name "-j" jobs] | ||
] |
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,28 +1,33 @@ | ||
# This file is generated by dune, edit dune-project instead | ||
opam-version: "2.0" | ||
|
||
synopsis: "PPX syntax for Lwt, providing something similar to async/await from JavaScript" | ||
|
||
version: "2.1.0" | ||
synopsis: | ||
"PPX syntax for Lwt, providing something similar to async/await from JavaScript" | ||
maintainer: [ | ||
"Raphaël Proust <[email protected]>" "Anton Bachin <[email protected]>" | ||
] | ||
authors: ["Jérôme Vouillon" "Jérémie Dimino"] | ||
license: "MIT" | ||
homepage: "https://github.com/ocsigen/lwt" | ||
doc: "https://ocsigen.org/lwt/dev/api/Ppx_lwt" | ||
doc: "https://ocsigen.org/lwt" | ||
bug-reports: "https://github.com/ocsigen/lwt/issues" | ||
|
||
authors: [ | ||
"Gabriel Radanne" | ||
] | ||
maintainer: [ | ||
"Anton Bachin <[email protected]>" | ||
] | ||
dev-repo: "git+https://github.com/ocsigen/lwt.git" | ||
|
||
depends: [ | ||
"dune" {>= "1.8.0"} | ||
"lwt" | ||
"dune" {>= "1.12"} | ||
"ocaml" {>= "4.08"} | ||
"ppxlib" {>= "0.16.0"} | ||
"lwt" | ||
] | ||
|
||
build: [ | ||
["dune" "build" "-p" name "-j" jobs] | ||
["dune" "subst"] {pinned} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/ocsigen/lwt.git" |
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,28 +1,33 @@ | ||
# This file is generated by dune, edit dune-project instead | ||
opam-version: "2.0" | ||
|
||
synopsis: "Dummy package context for ppx_let tests" | ||
|
||
version: "5.7.0" | ||
description: "Internal package used to partition ppx_let tests." | ||
maintainer: [ | ||
"Raphaël Proust <[email protected]>" "Anton Bachin <[email protected]>" | ||
] | ||
authors: ["Jérôme Vouillon" "Jérémie Dimino"] | ||
license: "MIT" | ||
homepage: "https://github.com/ocsigen/lwt" | ||
doc: "https://ocsigen.org/lwt" | ||
bug-reports: "https://github.com/ocsigen/lwt/issues" | ||
|
||
authors: [ | ||
"Jérôme Vouillon" | ||
"Jérémie Dimino" | ||
] | ||
maintainer: [ | ||
"Raphaël Proust <[email protected]>" | ||
"Anton Bachin <[email protected]>" | ||
] | ||
dev-repo: "git+https://github.com/ocsigen/lwt.git" | ||
|
||
depends: [ | ||
"dune" {>= "1.8.0"} | ||
"lwt" | ||
"ppx_let" {with-test} | ||
"dune" {>= "1.12"} | ||
"ocaml" {>= "4.08"} | ||
"ppx_let" {with-test} | ||
"lwt" | ||
] | ||
|
||
description: "Internal package used to partition ppx_let tests." | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/ocsigen/lwt.git" |
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,29 +1,33 @@ | ||
# This file is generated by dune, edit dune-project instead | ||
opam-version: "2.0" | ||
|
||
synopsis: "Helpers for using React with Lwt" | ||
|
||
version: "1.2.0" | ||
maintainer: [ | ||
"Raphaël Proust <[email protected]>" "Anton Bachin <[email protected]>" | ||
] | ||
authors: ["Jérôme Vouillon" "Jérémie Dimino"] | ||
license: "MIT" | ||
homepage: "https://github.com/ocsigen/lwt" | ||
doc: "https://ocsigen.org/lwt/dev/api/Lwt_react" | ||
doc: "https://ocsigen.org/lwt" | ||
bug-reports: "https://github.com/ocsigen/lwt/issues" | ||
|
||
authors: [ | ||
"Jérémie Dimino" | ||
] | ||
maintainer: [ | ||
"Anton Bachin <[email protected]>" | ||
] | ||
dev-repo: "git+https://github.com/ocsigen/lwt.git" | ||
|
||
depends: [ | ||
"dune" {>= "1.8.0"} | ||
"lwt" {>= "3.0.0"} | ||
"dune" {>= "1.12"} | ||
"ocaml" {>= "4.08"} | ||
"react" {>= "1.0.0"} | ||
"cppo" {build & >= "1.1.0"} | ||
"lwt" {>= "3.0.0"} | ||
"react" {>= "1.0.0"} | ||
] | ||
|
||
build: [ | ||
["dune" "build" "-p" name "-j" jobs] | ||
["dune" "subst"] {pinned} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/ocsigen/lwt.git" |