Skip to content

Commit

Permalink
Duplicate test deps for each project
Browse files Browse the repository at this point in the history
We need this since you can theoretically do:

```
opam install pgx
opam install -t pgx_value_core # fails because alcotest isn't installed
```
  • Loading branch information
brendanlong committed May 8, 2020
1 parent a6424dd commit 8ed3fc3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@
(description
"PGX using the standard library's Unix module for IO (synchronous)")
(depends
(alcotest
(and
:with-test
(>= 1.0.0)))
(ocaml
(>= 4.08))
(pgx
Expand Down Expand Up @@ -123,6 +127,10 @@
(synopsis "Pgx_value converters for Core types like Date and Time")
(description "Pgx_value converters for Core types like Date and Time")
(depends
(alcotest
(and
:with-test
(>= 1.0.0)))
(core_kernel
(>= "v0.13.0"))
(ocaml
Expand Down
1 change: 1 addition & 0 deletions pgx_unix.opam
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ doc: "https://arenadotio.github.io/pgx"
bug-reports: "https://github.com/arenadotio/pgx/issues"
depends: [
"dune" {>= "1.11"}
"alcotest" {with-test & >= "1.0.0"}
"ocaml" {>= "4.08"}
"pgx" {= version}
]
Expand Down
1 change: 1 addition & 0 deletions pgx_value_core.opam
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ doc: "https://arenadotio.github.io/pgx"
bug-reports: "https://github.com/arenadotio/pgx/issues"
depends: [
"dune" {>= "1.11"}
"alcotest" {with-test & >= "1.0.0"}
"core_kernel" {>= "v0.13.0"}
"ocaml" {>= "4.08"}
"pgx" {= version}
Expand Down

0 comments on commit 8ed3fc3

Please sign in to comment.