-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switched to dune, dune-release, and OPAM 2.0
- Loading branch information
Showing
17 changed files
with
60 additions
and
73 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
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,10 +1,10 @@ | ||
.PHONY: all clean doc | ||
|
||
all: | ||
jbuilder build @install --dev | ||
dune build @install | ||
|
||
clean: | ||
jbuilder clean | ||
dune clean | ||
|
||
doc: | ||
jbuilder build --dev @doc | ||
dune build @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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
(env | ||
(dev (flags (:standard -w -9 -principal))) | ||
(release (ocamlopt_flags (:standard -O3))) | ||
) |
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,2 @@ | ||
(lang dune 1.1) | ||
(name sqlite3) |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
opam-version: "1.2" | ||
opam-version: "2.0" | ||
maintainer: "Markus Mottl <[email protected]>" | ||
authors: [ | ||
"Markus Mottl <[email protected]>" | ||
|
@@ -7,21 +7,26 @@ authors: [ | |
license: "Expat" | ||
homepage: "http://mmottl.github.io/sqlite3-ocaml" | ||
doc: "https://mmottl.github.io/sqlite3-ocaml/api" | ||
dev-repo: "https://github.com/mmottl/sqlite3-ocaml.git" | ||
dev-repo: "git+https://github.com/mmottl/sqlite3-ocaml.git" | ||
bug-reports: "https://github.com/mmottl/sqlite3-ocaml/issues" | ||
tags: [ "clib:sqlite3" "clib:pthread" ] | ||
|
||
build: [ | ||
["jbuilder" "subst" "-p" name] {pinned} | ||
["jbuilder" "build" "-p" name "-j" jobs] | ||
["dune" "subst"] {pinned} | ||
["dune" "build" "-p" name "-j" jobs] | ||
] | ||
|
||
depends: [ | ||
"ocaml" {>= "4.05"} | ||
"dune" {build & >= "1.4.0"} | ||
"base" {build} | ||
"conf-sqlite3" {build} | ||
"stdio" {build} | ||
"configurator" {build} | ||
"jbuilder" {build & >= "1.0+beta10"} | ||
"conf-sqlite3" {build} | ||
] | ||
|
||
available: [ ocaml-version >= "4.05" ] | ||
synopsis: "SQLite3 bindings for OCaml" | ||
|
||
description: """ | ||
sqlite3-ocaml is an OCaml library with bindings to the SQLite3 client API. | ||
Sqlite3 is a self-contained, serverless, zero-configuration, transactional SQL | ||
database engine with outstanding performance for many use cases.""" |
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 |
---|---|---|
@@ -1,10 +1,9 @@ | ||
TARGETS = discover.bc | ||
JBUILDER_ROOT = ../.. | ||
|
||
.PHONY: all clean | ||
|
||
all: | ||
@jbuilder build --dev $(TARGETS) | ||
@dune build $(TARGETS) | ||
|
||
clean: | ||
@jbuilder clean | ||
@dune clean |
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,4 @@ | ||
(executables | ||
(names discover) | ||
(libraries base stdio dune.configurator) | ||
) |
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,16 @@ | ||
(library | ||
(public_name sqlite3) | ||
(c_names sqlite3_stubs) | ||
(c_flags ( | ||
(:include c_flags.sexp) -g -O2 -fPIC -DPIC | ||
; NOTE: for debugging before releases | ||
; -Wall -pedantic -Wextra -Wunused -Wno-long-long -Wno-keyword-macro | ||
)) | ||
(c_library_flags (:include c_library_flags.sexp) -lpthread) | ||
) | ||
|
||
(rule | ||
(targets c_flags.sexp c_library_flags.sexp) | ||
(deps (:discover config/discover.exe)) | ||
(action (run %{discover})) | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
(executables | ||
(names test_agg test_db test_error test_exec test_fun test_stmt) | ||
(libraries str sqlite3) | ||
) |
This file was deleted.
Oops, something went wrong.