Skip to content

Commit 358d6ff

Browse files
chore(opam): add OCaml constraint, dev-repo, and pin-depends (#122)
- Require OCaml >= 5.2 in miaou-core (eio already requires it) - Add dev-repo via (source (github trilitech/miaou)) to all packages - Add pin-depends for ppx_forbid (not yet on public opam) via miaou-core.opam.template so `opam install --with-test .` works from scratch Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c51e182 commit 358d6ff

11 files changed

+18
-0
lines changed

dune-project

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
(version 0.4.1)
44
(generate_opam_files true)
55
(license MIT)
6+
(source (github trilitech/miaou))
67

78
(package
89
(name miaou-core)
@@ -12,6 +13,7 @@
1213
(homepage "https://github.com/trilitech/miaou")
1314
(bug_reports "https://github.com/trilitech/miaou/issues")
1415
(depends
16+
(ocaml (>= 5.2))
1517
cohttp
1618
cohttp-eio
1719
eio

miaou-core.opam

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ homepage: "https://github.com/trilitech/miaou"
99
bug-reports: "https://github.com/trilitech/miaou/issues"
1010
depends: [
1111
"dune" {>= "3.15"}
12+
"ocaml" {>= "5.2"}
1213
"cohttp"
1314
"cohttp-eio"
1415
"eio"
@@ -40,3 +41,7 @@ build: [
4041
"@doc" {with-doc}
4142
]
4243
]
44+
dev-repo: "git+https://github.com/trilitech/miaou.git"
45+
pin-depends: [
46+
["ppx_forbid.dev" "git+https://github.com/atacama-dev/ppx_forbid.git"]
47+
]

miaou-core.opam.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pin-depends: [
2+
["ppx_forbid.dev" "git+https://github.com/atacama-dev/ppx_forbid.git"]
3+
]

miaou-driver-matrix.opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ build: [
2828
"@doc" {with-doc}
2929
]
3030
]
31+
dev-repo: "git+https://github.com/trilitech/miaou.git"

miaou-driver-sdl.opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ build: [
3232
"@doc" {with-doc}
3333
]
3434
]
35+
dev-repo: "git+https://github.com/trilitech/miaou.git"

miaou-driver-term.opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ build: [
2626
"@doc" {with-doc}
2727
]
2828
]
29+
dev-repo: "git+https://github.com/trilitech/miaou.git"

miaou-driver-web.opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ build: [
3333
"@doc" {with-doc}
3434
]
3535
]
36+
dev-repo: "git+https://github.com/trilitech/miaou.git"

miaou-runner.opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ build: [
2929
"@doc" {with-doc}
3030
]
3131
]
32+
dev-repo: "git+https://github.com/trilitech/miaou.git"

miaou-tui.opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ build: [
2828
"@doc" {with-doc}
2929
]
3030
]
31+
dev-repo: "git+https://github.com/trilitech/miaou.git"

miaou-widgets-display-sdl.opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ build: [
2727
"@doc" {with-doc}
2828
]
2929
]
30+
dev-repo: "git+https://github.com/trilitech/miaou.git"

0 commit comments

Comments
 (0)