Skip to content

Commit

Permalink
Remove the dependency on bytes
Browse files Browse the repository at this point in the history
`bytes` is provided by all the required OCaml versions, so drop it from
the dependencies
This makes it easy to compile QCheck (at least core) without a
fully-working Opam environment
  • Loading branch information
shym committed Sep 28, 2023
1 parent 321628b commit bdecf06
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion qcheck-alcotest.opam
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ build: [
]
depends: [
"dune" { >= "2.8.0" }
"base-bytes"
"base-unix"
"qcheck-core" { = version }
"alcotest" {>= "0.8.1"}
Expand Down
1 change: 0 additions & 1 deletion qcheck-core.opam
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ build: [
]
depends: [
"dune" { >= "2.8.0" }
"base-bytes"
"base-unix"
"alcotest" {with-test}
"odoc" {with-doc}
Expand Down
1 change: 0 additions & 1 deletion qcheck-ounit.opam
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ build: [
]
depends: [
"dune" { >= "2.8.0" }
"base-bytes"
"base-unix"
"qcheck-core" { = version }
"ounit2"
Expand Down
1 change: 0 additions & 1 deletion qcheck.opam
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ build: [
]
depends: [
"dune" { >= "2.8.0" }
"base-bytes"
"base-unix"
"qcheck-core" { = version }
"qcheck-ounit" { = version }
Expand Down
2 changes: 1 addition & 1 deletion src/alcotest/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
(name qcheck_alcotest)
(public_name qcheck-alcotest)
(wrapped false)
(libraries unix bytes qcheck-core qcheck-core.runner alcotest)
(libraries unix qcheck-core qcheck-core.runner alcotest)
(flags :standard -w +a-4-42-44-48-50-58-32-60@8 -safe-string)
)
2 changes: 1 addition & 1 deletion src/core/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
(name qcheck_core)
(public_name qcheck-core)
(wrapped false)
(libraries unix bytes)
(libraries unix)
(flags :standard -w +a-4-42-44-48-50-58-32-60@8 -safe-string)
)
2 changes: 1 addition & 1 deletion src/ounit/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
(name qcheck_ounit)
(public_name qcheck-ounit)
(wrapped false)
(libraries unix bytes qcheck-core qcheck-core.runner ounit2)
(libraries unix qcheck-core qcheck-core.runner ounit2)
(flags :standard -w +a-4-42-44-48-50-58-32-60@8 -safe-string)
)

0 comments on commit bdecf06

Please sign in to comment.