Skip to content

Commit

Permalink
Add (= version) & remove redundant dune.
Browse files Browse the repository at this point in the history
Co-Authored-By: Kate <[email protected]>
  • Loading branch information
ArtichOwO and kit-ty-kate committed Jan 11, 2023
1 parent 11f81aa commit 1fffc25
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 30 deletions.
22 changes: 13 additions & 9 deletions dune-project
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(lang dune 2.9)
(lang dune 3.0)

(version 0.1)

Expand All @@ -23,8 +23,6 @@
(description
"Mehari is a cross-platform library for building Gemini servers.\nIt fully implements the Gemini protocol specification.\nIt takes heavy inspiration from Dream, a tidy, feature-complete Web framework.")
(depends
(dune
(>= 3.0))
(ocaml
(>= 4.14))
(conan-database
Expand All @@ -50,7 +48,8 @@
(name mehari-mirage)
(synopsis "Mehari IO implementation for MirageOS")
(depends
mehari
(mehari
(= version))
(ipaddr
(>= 5.3.1))
(lwt
Expand All @@ -70,8 +69,10 @@
(name mehari-lwt-unix)
(synopsis "Mehari IO implementation using Lwt and Unix bindings")
(depends
mehari
mehari-mirage
(mehari
(= version))
(mehari-mirage
(= version))
(lwt
(>= 5.6.1))
(lwt_ppx
Expand All @@ -91,7 +92,8 @@
(depends
(ocaml
(>= 5.0.0))
mehari
(mehari
(= version))
(eio
(>= 0.7))
(mirage-clock-unix
Expand All @@ -111,7 +113,9 @@
(depends
(ocaml
(>= 5.0.0))
mehari
mehari-eio
(mehari
(= version))
(mehari-eio
(= version))
(eio
(>= 0.7))))
8 changes: 3 additions & 5 deletions mehari-eio-unix.opam
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ license: "LGPL-3.0-or-later"
homepage: "https://github.com/Psi-Prod/Mehari"
bug-reports: "https://github.com/Psi-Prod/Mehari/issues"
depends: [
"dune" {>= "2.9"}
"dune" {>= "3.0"}
"ocaml" {>= "5.0.0"}
"mehari"
"mehari-eio"
"mehari" {= "version"}
"mehari-eio" {= "version"}
"eio" {>= "0.7"}
"odoc" {with-doc}
]
Expand All @@ -24,11 +24,9 @@ build: [
name
"-j"
jobs
"--promote-install-files=false"
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
["dune" "install" "-p" name "--create-install-files" name]
]
dev-repo: "git+https://github.com/Psi-Prod/Mehari.git"
6 changes: 2 additions & 4 deletions mehari-eio.opam
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ license: "LGPL-3.0-or-later"
homepage: "https://github.com/Psi-Prod/Mehari"
bug-reports: "https://github.com/Psi-Prod/Mehari/issues"
depends: [
"dune" {>= "2.9"}
"dune" {>= "3.0"}
"ocaml" {>= "5.0.0"}
"mehari"
"mehari" {= "version"}
"eio" {>= "0.7"}
"mirage-clock-unix" {>= "4.2.0"}
"logs" {>= "0.7.0"}
Expand All @@ -28,11 +28,9 @@ build: [
name
"-j"
jobs
"--promote-install-files=false"
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
["dune" "install" "-p" name "--create-install-files" name]
]
dev-repo: "git+https://github.com/Psi-Prod/Mehari.git"
8 changes: 3 additions & 5 deletions mehari-lwt-unix.opam
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ license: "LGPL-3.0-or-later"
homepage: "https://github.com/Psi-Prod/Mehari"
bug-reports: "https://github.com/Psi-Prod/Mehari/issues"
depends: [
"dune" {>= "2.9"}
"mehari"
"mehari-mirage"
"dune" {>= "3.0"}
"mehari" {= "version"}
"mehari-mirage" {= "version"}
"lwt" {>= "5.6.1"}
"lwt_ppx" {>= "2.1.0"}
"mirage-clock-unix" {>= "4.2.0"}
Expand All @@ -28,11 +28,9 @@ build: [
name
"-j"
jobs
"--promote-install-files=false"
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
["dune" "install" "-p" name "--create-install-files" name]
]
dev-repo: "git+https://github.com/Psi-Prod/Mehari.git"
6 changes: 2 additions & 4 deletions mehari-mirage.opam
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ license: "LGPL-3.0-or-later"
homepage: "https://github.com/Psi-Prod/Mehari"
bug-reports: "https://github.com/Psi-Prod/Mehari/issues"
depends: [
"dune" {>= "2.9"}
"mehari"
"dune" {>= "3.0"}
"mehari" {= "version"}
"ipaddr" {>= "5.3.1"}
"lwt" {>= "5.6.1"}
"lwt_ppx" {>= "2.1.0"}
Expand All @@ -28,11 +28,9 @@ build: [
name
"-j"
jobs
"--promote-install-files=false"
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
["dune" "install" "-p" name "--create-install-files" name]
]
dev-repo: "git+https://github.com/Psi-Prod/Mehari.git"
4 changes: 1 addition & 3 deletions mehari.opam
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license: "LGPL-3.0-or-later"
homepage: "https://github.com/Psi-Prod/Mehari"
bug-reports: "https://github.com/Psi-Prod/Mehari/issues"
depends: [
"dune" {>= "2.9" & >= "3.0"}
"dune" {>= "3.0"}
"ocaml" {>= "4.14"}
"conan-database" {>= "0.0.1"}
"conan" {>= "0.0.1"}
Expand All @@ -34,11 +34,9 @@ build: [
name
"-j"
jobs
"--promote-install-files=false"
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
["dune" "install" "-p" name "--create-install-files" name]
]
dev-repo: "git+https://github.com/Psi-Prod/Mehari.git"

0 comments on commit 1fffc25

Please sign in to comment.