-
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.
- Loading branch information
Showing
47 changed files
with
150 additions
and
313 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,4 +1,4 @@ | ||
# JBUILDER_GEN | ||
# DUNE_GEN | ||
|
||
package "top" ( | ||
description = "Deprecated. Use cohttp-top directly" | ||
|
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,34 +1,13 @@ | ||
.PHONY: build clean test install uninstall clean all-supported-ocaml-versions | ||
.PHONY: build clean test clean all-supported-ocaml-versions | ||
|
||
build: | ||
jbuilder build --dev @install | ||
dune build | ||
|
||
test: | ||
jbuilder runtest | ||
|
||
install: | ||
jbuilder install | ||
|
||
uninstall: | ||
jbuilder uninstall | ||
dune runtest | ||
|
||
clean: | ||
rm -rf _build *.install | ||
|
||
REPO=../../mirage/mirage-dev | ||
PACKAGES=$(REPO)/packages | ||
# until we have https://github.com/ocaml/opam-publish/issues/38 | ||
pkg-%: | ||
topkg opam pkg -n $* | ||
mkdir -p $(PACKAGES)/$* | ||
cp -r _build/$*.* $(PACKAGES)/$*/ | ||
cd $(PACKAGES) && git add $* | ||
dune clean | ||
|
||
all-supported-ocaml-versions: | ||
jbuilder build --dev @install @runtest --workspace jbuild-workspace.dev | ||
|
||
PKGS=$(basename $(wildcard *.opam)) | ||
opam-pkg: | ||
$(MAKE) $(PKGS:%=pkg-%) | ||
|
||
|
||
dune build @install @runtest --workspace jbuild-workspace.dev |
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
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,6 @@ | ||
(executables | ||
(names cohttp_curl_async cohttp_server_async) | ||
(package cohttp-async) | ||
(public_names cohttp-curl-async cohttp-server-async) | ||
(libraries cohttp-async async_kernel async_extra async_unix base | ||
cohttp cohttp_server fmt.tty)) |
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
(library | ||
(name cohttp_async) | ||
(synopsis "Async backend") | ||
(public_name cohttp-async) | ||
(libraries logs.fmt base fmt async_unix async_kernel async_extra uri | ||
uri.services ipaddr.unix conduit-async magic-mime cohttp) | ||
(preprocess (pps ppx_sexp_conv))) |
This file was deleted.
Oops, something went wrong.
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,5 @@ | ||
(test | ||
(name test_async_integration) | ||
(package cohttp-async) | ||
(libraries cohttp_async_test async_unix base core async_kernel oUnit | ||
cohttp-async)) |
This file was deleted.
Oops, something went wrong.
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
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,7 @@ | ||
(library | ||
(name cohttp_lwt_jsoo) | ||
(public_name cohttp-lwt-jsoo) | ||
(synopsis "XHR/Lwt based http client") | ||
(wrapped false) | ||
(preprocess (pps js_of_ocaml-ppx)) | ||
(libraries js_of_ocaml cohttp-lwt)) |
This file was deleted.
Oops, something went wrong.
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
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,6 @@ | ||
(executables | ||
(names cohttp_curl_lwt cohttp_proxy_lwt cohttp_server_lwt) | ||
(libraries cohttp-lwt-unix cohttp_server logs logs.lwt logs.fmt logs.cli | ||
cmdliner) | ||
(package cohttp-lwt-unix) | ||
(public_names cohttp-curl-lwt cohttp-proxy-lwt cohttp-server-lwt)) |
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
(library | ||
(name cohttp_lwt_unix) | ||
(public_name cohttp-lwt-unix) | ||
(synopsis "Lwt/Unix backend for Cohttp") | ||
(preprocess (pps ppx_sexp_conv)) | ||
(libraries fmt logs logs.lwt conduit-lwt-unix magic-mime lwt.unix cohttp | ||
cohttp-lwt)) |
This file was deleted.
Oops, something went wrong.
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,11 @@ | ||
(test | ||
(libraries cohttp-lwt-unix oUnit lwt.unix) | ||
(package cohttp-lwt-unix) | ||
(modules test_parser) | ||
(name test_parser)) | ||
|
||
(test | ||
(libraries cohttp_lwt_unix_test cohttp-lwt-unix) | ||
(package cohttp-lwt-unix) | ||
(modules test_sanity) | ||
(name test_sanity)) |
This file was deleted.
Oops, something went wrong.
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
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,6 @@ | ||
(library | ||
(name cohttp_lwt) | ||
(public_name cohttp-lwt) | ||
(synopsis "Lwt backend") | ||
(preprocess (pps ppx_sexp_conv)) | ||
(libraries lwt uri cohttp)) |
This file was deleted.
Oops, something went wrong.
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
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,7 @@ | ||
(library | ||
(name cohttp_mirage) | ||
(public_name cohttp-mirage) | ||
(synopsis "Mirage backend for cohttp") | ||
(wrapped false) | ||
(libraries cohttp-lwt mirage-channel-lwt mirage-conduit sexplib | ||
mirage-flow-lwt magic-mime astring)) |
This file was deleted.
Oops, something went wrong.
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
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 @@ | ||
(library | ||
(name cohttp_top) | ||
(public_name cohttp-top) | ||
(libraries cohttp compiler-libs.toplevel)) |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.