Skip to content

Commit

Permalink
Updated distribution files
Browse files Browse the repository at this point in the history
  • Loading branch information
mmottl committed Oct 28, 2019
1 parent 728bd5d commit 65e0b16
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 17 deletions.
9 changes: 9 additions & 0 deletions CHANGES.md
@@ -1,3 +1,12 @@
### 4.5.2 (2019-10-28)

* Switched from `caml_alloc_custom` to `caml_alloc_custom_mem`.

This should improve memory usage and GC performance.

* Switched to OPAM file generation via `dune-project`


### 4.5.1 (2019-10-11)

* Fixed warnings in C-stubs
Expand Down
32 changes: 31 additions & 1 deletion dune-project
@@ -1,2 +1,32 @@
(lang dune 1.7)
(lang dune 1.10)
(name postgresql)

(generate_opam_files true)

(source (github mmottl/postgresql-ocaml))
(license "LGPL-2.1+ with OCaml linking exception")
(homepage "https://mmottl.github.io/postgresql-ocaml")
(documentation "https://mmottl.github.io/postgresql-ocaml/api")

(maintainers "Markus Mottl <markus.mottl@gmail.com>")

(authors
"Alain Frisch <alain.frisch@lexifi.com>"
"Markus Mottl <markus.mottl@gmail.com>"
"Petter Urkedal <paurkedal@gmail.com>"
)

(package
(name postgresql)
(synopsis "Bindings to the PostgreSQL library")
(description "\
Postgresql offers library functions for accessing PostgreSQL databases.")
(depends
(ocaml (>= 4.08))
(dune (>= 1.10))
(base :build)
(stdio :build)
(conf-postgresql :build)
base-bytes
)
)
31 changes: 15 additions & 16 deletions postgresql.opam
@@ -1,31 +1,30 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
maintainer: "Markus Mottl <markus.mottl@gmail.com>"
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: ["Markus Mottl <markus.mottl@gmail.com>"]
authors: [
"Alain Frisch <alain.frisch@lexifi.com>"
"Markus Mottl <markus.mottl@gmail.com>"
"Petter Urkedal <paurkedal@gmail.com>"
]
license: "LGPL-2.1+ with OCaml linking exception"
bug-reports: "https://github.com/mmottl/postgresql-ocaml/issues"
homepage: "https://mmottl.github.io/postgresql-ocaml"
doc: "https://mmottl.github.io/postgresql-ocaml/api"
license: "LGPL-2.1+ with OCaml linking exception"
dev-repo: "git+https://github.com/mmottl/postgresql-ocaml.git"
bug-reports: "https://github.com/mmottl/postgresql-ocaml/issues"

build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
]

synopsis: "Bindings to the PostgreSQL library"
description:
"Postgresql offers library functions for accessing PostgreSQL databases."
depends: [
"ocaml" {>= "4.08"}
"dune" {>= "1.7.0"}
"dune" {>= "1.10"}
"base" {build}
"stdio" {build}
"base-bytes"
"conf-postgresql" {build}
"base-bytes"
]

synopsis: "Bindings to the PostgreSQL library"

description: """
Postgresql offers library functions for accessing PostgreSQL databases."""

0 comments on commit 65e0b16

Please sign in to comment.