Skip to content

Commit 13140e0

Browse files
committed
Switched to jbuilder and topkg
1 parent e372fc1 commit 13140e0

37 files changed

+757
-10161
lines changed

.gitignore

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
_build
2-
API.docdir
3-
*.bak
41
.*.swp
5-
setup.data
6-
setup.log
7-
*.byte
8-
*.native
2+
.merlin
3+
*.install
4+
_build

.merlin

Lines changed: 0 additions & 2 deletions
This file was deleted.

API.odocl

Lines changed: 0 additions & 4 deletions
This file was deleted.

AUTHORS.txt

Lines changed: 0 additions & 15 deletions
This file was deleted.

CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
### 4.1.0 (2017-08-02)
2+
3+
* Switched to jbuilder and topkg

COPYING.txt

Lines changed: 0 additions & 520 deletions
This file was deleted.

INSTALL.txt

Lines changed: 0 additions & 40 deletions
This file was deleted.

LICENSE.md

Lines changed: 525 additions & 0 deletions
Large diffs are not rendered by default.

Makefile

Lines changed: 5 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,10 @@
1-
# OASIS_START
2-
# DO NOT EDIT (digest: a3c674b4239234cbbe53afe090018954)
3-
4-
SETUP = ocaml setup.ml
5-
6-
build: setup.data
7-
$(SETUP) -build $(BUILDFLAGS)
8-
9-
doc: setup.data build
10-
$(SETUP) -doc $(DOCFLAGS)
11-
12-
test: setup.data build
13-
$(SETUP) -test $(TESTFLAGS)
1+
.PHONY: all clean doc
142

153
all:
16-
$(SETUP) -all $(ALLFLAGS)
17-
18-
install: setup.data
19-
$(SETUP) -install $(INSTALLFLAGS)
20-
21-
uninstall: setup.data
22-
$(SETUP) -uninstall $(UNINSTALLFLAGS)
23-
24-
reinstall: setup.data
25-
$(SETUP) -reinstall $(REINSTALLFLAGS)
4+
jbuilder build @install --dev
265

276
clean:
28-
$(SETUP) -clean $(CLEANFLAGS)
29-
30-
distclean:
31-
$(SETUP) -distclean $(DISTCLEANFLAGS)
32-
33-
setup.data:
34-
$(SETUP) -configure $(CONFIGUREFLAGS)
35-
36-
configure:
37-
$(SETUP) -configure $(CONFIGUREFLAGS)
38-
39-
.PHONY: build doc test all install uninstall reinstall clean distclean configure
7+
jbuilder clean
408

41-
# OASIS_STOP
9+
doc:
10+
jbuilder build --dev @doc

README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,26 @@
33
### What is PostgreSQL-OCaml?
44

55
This [OCaml](http://www.ocaml.org)-library provides an interface to
6-
[PostgreSQL](http://www.postgresql.org), an efficient and reliable, open
7-
source, relational database. Almost all functionality available through
8-
the C-API (`libpq`) is replicated in a type-safe way. This library uses
9-
objects for representing database connections and results of queries.
6+
[PostgreSQL](http://www.postgresql.org), an efficient and reliable, open source,
7+
relational database. Almost all functionality available through the C-API
8+
(`libpq`) is replicated in a type-safe way. This library uses objects for
9+
representing database connections and results of queries.
1010

1111
### Usage
1212

13-
The OCaml-API in file `lib/postgresql.mli` is well-documented and can be
14-
built as HTML with `make doc`. The API-documentation can also be found
15-
[online](http://mmottl.github.io/postgresql-ocaml/api).
13+
The OCaml-API in file `lib/postgresql.mli` is well-documented and can be built
14+
as HTML with `make doc`. The API-documentation can also be found
15+
[online](http://mmottl.github.io/postgresql-ocaml/api/postgresql).
1616

17-
More detailed information on how to interact with PostgreSQL is available
18-
in the [PostgreSQL-documentation](http://www.postgresql.org/docs).
19-
The OCaml-examples in the `examples`-directory are mostly very short and
20-
comprehensible and therefore a good way to get started.
17+
More detailed information on how to interact with PostgreSQL is available in the
18+
[PostgreSQL-documentation](http://www.postgresql.org/docs). The OCaml-examples
19+
in the `examples`-directory are mostly very short and comprehensible and
20+
therefore a good way to get started.
2121

2222
### Contact Information and Contributing
2323

2424
Please submit bugs reports, feature requests, contributions and similar to
2525
the [GitHub issue tracker](https://github.com/mmottl/postgresql-ocaml/issues).
2626

27-
Up-to-date information is available at: <https://mmottl.github.io/postgresql-ocaml>
27+
Up-to-date information is available at:
28+
<https://mmottl.github.io/postgresql-ocaml>

0 commit comments

Comments
 (0)