-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #76 from anmonteiro/anmonteiro/switch-to-dune
Switch to Dune
- Loading branch information
Showing
23 changed files
with
82 additions
and
89 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,18 +1,18 @@ | ||
.PHONY: all build clean test | ||
|
||
build: | ||
jbuilder build --dev @install | ||
dune build @install | ||
|
||
all: build | ||
|
||
test: | ||
jbuilder runtest --dev | ||
dune runtest | ||
|
||
install: | ||
jbuilder install | ||
dune install | ||
|
||
uninstall: | ||
jbuilder uninstall | ||
dune uninstall | ||
|
||
clean: | ||
rm -rf _build *.install |
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 httpaf_async) | ||
(public_name httpaf-async) | ||
(wrapped false) | ||
(libraries | ||
async core angstrom-async faraday-async httpaf) | ||
(flags (:standard -safe-string))) |
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,10 @@ | ||
(executable | ||
(libraries httpaf httpaf-async async core) | ||
(modules wrk_async_benchmark) | ||
(name wrk_async_benchmark) | ||
(flags (:standard -w -9))) | ||
|
||
(executable | ||
(name wrk_lwt_benchmark) | ||
(modules Wrk_lwt_benchmark) | ||
(libraries httpaf httpaf-lwt lwt.unix)) |
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
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,3 @@ | ||
(lang dune 1.5) | ||
|
||
(name httpaf) |
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,5 @@ | ||
(executables | ||
(libraries httpaf httpaf-async async core) | ||
(modules async_echo_post async_get async_post) | ||
(names async_echo_post async_get async_post) | ||
(flags (:standard -w -9))) |
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,3 @@ | ||
(executables | ||
(names lwt_get lwt_post lwt_echo_server) | ||
(libraries httpaf httpaf-lwt lwt lwt.unix)) |
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
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 httpaf) | ||
(public_name httpaf) | ||
(libraries | ||
angstrom faraday bigstringaf result) | ||
(flags (:standard -safe-string))) |
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,22 @@ | ||
(executables | ||
(libraries bigstringaf httpaf alcotest) | ||
(modules test_httpaf test_httpaf_server test_httpaf_client simulator) | ||
(names test_httpaf test_httpaf_server test_httpaf_client)) | ||
|
||
(alias | ||
(name runtest) | ||
(package httpaf) | ||
(deps test_httpaf.exe) | ||
(action (run %{deps}))) | ||
|
||
(alias | ||
(name runtest) | ||
(package httpaf) | ||
(deps test_httpaf_server.exe) | ||
(action (run %{deps}))) | ||
|
||
(alias | ||
(name runtest) | ||
(package httpaf) | ||
(deps test_httpaf_client.exe) | ||
(action (run %{deps}))) |
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 @@ | ||
(library | ||
(name httpaf_lwt) | ||
(public_name httpaf-lwt) | ||
(libraries faraday-lwt-unix httpaf lwt.unix) | ||
(flags (:standard -safe-string))) |
This file was deleted.
Oops, something went wrong.