Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 29 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
(lang dune 1.4)
(using fmt 1.0)
(lang dune 1.10)
(using fmt 1.1)
(name orewa)
(generate_opam_files true)
(maintainers "Marek Kubica <[email protected]>")
(authors "Marek Kubica <[email protected]>")
(source (github Leonidas-from-XIV/orewa))
(bug_reports "https://github.com/Leonidas-from-XIV/orewa/issues")
(documentation "https://leonidas-from-xiv.github.io/orewa/")
(license LGPL-3.0-or-later)

(package
(name orewa)
(depends
(async (>= v0.11))
(core (>= v0.11))
(dune (>= 1.10))
(ppx_let (>= v0.11))
(alcotest (and :with_test (>= 0.8.4)))
(alcotest-async (and :with_test (>= 0.8.2)))
(ppx_deriving (>= 4.2)))
(synopsis "Async-friendly Redis client")
(description "Async-friendly Redis client

Orewa is a Redis client designed with cooperative multithreading in mind, thus
operations are non-blocking by default.

It also features an OCaml-friendly Redis API wrapping the stringly constructs
of the Redis commands into a more typed and less fragile interface that does
its best to provide a pleasant interface."))
37 changes: 22 additions & 15 deletions orewa.opam
Original file line number Diff line number Diff line change
@@ -1,27 +1,34 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
maintainer: "Marek Kubica <[email protected]>"
author: "Marek Kubica <[email protected]>"
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
["dune" "build" "-p" name "@doc"] {with-doc}
]
maintainer: ["Marek Kubica <[email protected]>"]
authors: ["Marek Kubica <[email protected]>"]
bug-reports: "https://github.com/Leonidas-from-XIV/orewa/issues"
homepage: "https://github.com/Leonidas-from-XIV/orewa"
doc: "https://leonidas-from-xiv.github.io/orewa/"
license: "LGPL-3.0-or-later"
dev-repo: "git+https://github.com/Leonidas-from-XIV/orewa.git"
bug-reports: "https://github.com/Leonidas-from-XIV/orewa/issues"
build: [["dune" "build" "-p" name "-j" jobs]]
run-test: [["dune" "runtest" "-p" name "-j" jobs]]
depends: [
"async" {>= "v0.11"}
"core" {>= "v0.11"}
"dune" {>= "1.4"}
"ppx_let" {>= "v0.11"}
"alcotest" {with-test & >= "0.8.4"}
"alcotest-async" {with-test & >= "0.8.2"}
"ppx_deriving" {>= "4.2"}
]
synopsis: "Async-friendly Redis client"
description: """Async-friendly Redis client
description: """
Async-friendly Redis client

Orewa is a Redis client designed with cooperative multithreading in mind, thus
operations are non-blocking by default.

It also features an OCaml-friendly Redis API wrapping the stringly constructs
of the Redis commands into a more typed and less fragile interface that does
its best to provide a pleasant interface."""
depends: [
"async" {>= "v0.11"}
"core" {>= "v0.11"}
"dune" {>= "1.10"}
"ppx_let" {>= "v0.11"}
"alcotest" {with_test & >= "0.8.4"}
"alcotest-async" {with_test & >= "0.8.2"}
"ppx_deriving" {>= "4.2"}
]
9 changes: 5 additions & 4 deletions src/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(library
(name orewa)
(public_name orewa)
(libraries core async)
(preprocess (pps ppx_let ppx_deriving.show ppx_deriving.eq)))
(name orewa)
(public_name orewa)
(libraries core async)
(preprocess
(pps ppx_let ppx_deriving.show ppx_deriving.eq)))
9 changes: 6 additions & 3 deletions test/integration/dune
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
(executable
(name test)
(preprocess (pps ppx_let ppx_deriving.show ppx_deriving.eq))
(preprocess
(pps ppx_let ppx_deriving.show ppx_deriving.eq))
(libraries alcotest alcotest-async core async orewa))

(alias
(name integration)
(deps (:test test.exe))
(action (run %{test} --color=always)))
(deps
(:test test.exe))
(action
(run %{test} --color=always)))
3 changes: 2 additions & 1 deletion test/pipeline_read/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(executable
(name pipeline_read)
(preprocess (pps ppx_let))
(preprocess
(pps ppx_let))
(libraries core async orewa))