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
70 additions
and
84 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 postgresql) |
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 async binary cursor dump populate prompt test_lo) | ||
(libraries postgresql) | ||
) |
This file was deleted.
Oops, something went wrong.
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
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,17 @@ | ||
(library | ||
(public_name postgresql) | ||
(c_names postgresql_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)) | ||
(libraries threads bigarray) | ||
) | ||
|
||
(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.