-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: generate opam files from dune; require dune 2.9
- Loading branch information
Showing
3 changed files
with
74 additions
and
34 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,2 +1,28 @@ | ||
(lang dune 2.0) | ||
(lang dune 2.9) | ||
(name tiny_httpd) | ||
(generate_opam_files true) | ||
|
||
(version 0.14) | ||
(source (github c-cube/tiny_httpd)) | ||
(homepage https://github.com/c-cube/tiny_httpd/) | ||
(license MIT) | ||
|
||
(package | ||
(name tiny_httpd) | ||
(synopsis "Minimal HTTP server using threads") | ||
(tags (http thread server tiny_httpd http_of_dir simplehttpserver)) | ||
(depends | ||
seq | ||
(ocaml (>= 4.05)) | ||
(odoc :with-doc) | ||
(conf-libcurl :with-test) | ||
(ptime :with-test) | ||
(qcheck-core (and (>= 0.9) :with-test)))) | ||
|
||
(package | ||
(name tiny_httpd_camlzip) | ||
(synopsis "Interface to camlzip for tiny_httpd") | ||
(depends | ||
(tiny_httpd_camlzip (= :version)) | ||
(camlzip (>= 1.06)) | ||
(odoc :with-doc))) |
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,36 @@ | ||
# This file is generated by dune, edit dune-project instead | ||
opam-version: "2.0" | ||
version: "0.14" | ||
authors: ["Simon Cruanes"] | ||
maintainer: "[email protected]" | ||
synopsis: "Minimal HTTP server using threads" | ||
license: "MIT" | ||
synopsis: "Minimal HTTP server using good old threads" | ||
build: [ | ||
["dune" "build" "@install" "-p" name "-j" jobs] | ||
["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc} | ||
["dune" "runtest" "-p" name "-j" jobs] {with-test} | ||
tags: [ | ||
"http" "thread" "server" "tiny_httpd" "http_of_dir" "simplehttpserver" | ||
] | ||
homepage: "https://github.com/c-cube/tiny_httpd/" | ||
bug-reports: "https://github.com/c-cube/tiny_httpd/issues" | ||
depends: [ | ||
"dune" { >= "2.0" } | ||
"base-threads" | ||
"result" | ||
"dune" {>= "2.9"} | ||
"seq" | ||
"ocaml" { >= "4.05.0" } | ||
"ocaml" {>= "4.05"} | ||
"odoc" {with-doc} | ||
"conf-libcurl" {with-test} | ||
"ptime" {with-test} | ||
"qcheck-core" {with-test & >= "0.9" } | ||
"ptime" {with-test} | ||
"qcheck-core" {>= "0.9" & with-test} | ||
] | ||
build: [ | ||
["dune" "subst"] {dev} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"--promote-install-files=false" | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
["dune" "install" "-p" name "--create-install-files" name] | ||
] | ||
tags: [ "http" "thread" "server" "tiny_httpd" "http_of_dir" "simplehttpserver" ] | ||
homepage: "https://github.com/c-cube/tiny_httpd/" | ||
doc: "https://c-cube.github.io/tiny_httpd/" | ||
bug-reports: "https://github.com/c-cube/tiny_httpd/issues" | ||
dev-repo: "git+https://github.com/c-cube/tiny_httpd.git" | ||
post-messages: "tiny http server, with blocking IOs. Also ships with a `http_of_dir` program." |
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,23 +1,30 @@ | ||
# This file is generated by dune, edit dune-project instead | ||
opam-version: "2.0" | ||
version: "0.14" | ||
authors: ["Simon Cruanes"] | ||
maintainer: "[email protected]" | ||
license: "MIT" | ||
synopsis: "Interface to camlzip for tiny_httpd" | ||
build: [ | ||
["dune" "build" "@install" "-p" name "-j" jobs] | ||
["dune" "build" "@doc" "-p" name] {with-doc} | ||
["dune" "runtest" "-p" name] {with-test} | ||
] | ||
license: "MIT" | ||
homepage: "https://github.com/c-cube/tiny_httpd/" | ||
bug-reports: "https://github.com/c-cube/tiny_httpd/issues" | ||
depends: [ | ||
"dune" { >= "2.0" } | ||
"dune" {>= "2.9"} | ||
"tiny_httpd_camlzip" {= version} | ||
"camlzip" {>= "1.06"} | ||
"tiny_httpd" { = version } | ||
"ocaml" { >= "4.05.0" } | ||
"odoc" {with-doc} | ||
] | ||
tags: [ "http" "thread" "server" "gzip" "camlzip" ] | ||
homepage: "https://github.com/c-cube/tiny_httpd/" | ||
doc: "https://c-cube.github.io/tiny_httpd/" | ||
bug-reports: "https://github.com/c-cube/tiny_httpd/issues" | ||
build: [ | ||
["dune" "subst"] {dev} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"--promote-install-files=false" | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
["dune" "install" "-p" name "--create-install-files" name] | ||
] | ||
dev-repo: "git+https://github.com/c-cube/tiny_httpd.git" |