Skip to content

Commit

Permalink
Add constraints to ocaml version
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahbeckford committed Nov 14, 2022
1 parent c909788 commit b5c8263
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions dkml-runtime-distribution.opam
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ homepage: "https://github.com/diskuv/dkml-runtime-distribution"
bug-reports: "https://github.com/diskuv/dkml-runtime-distribution/issues"
depends: [
"dune" {>= "2.9"}
"ocaml" {>= "4.12.1~" & < "4.12.2~" | >= "4.13.1~" & < "4.13.2~"}
"diskuvbox" {>= "0.1.0" & build}
"odoc" {with-doc}
]
Expand Down
7 changes: 7 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,11 @@
* a user profile (ex. OCaml binaries installed within the user's home directory)
* a machine (ex. system or Administrator assembly/C compilers)")
(depends
(ocaml
; src/none/full-<VER>-no-ci-pkgs.txt has a list of DKML packages for that version of OCaml
(or
(and (>= 4.12.1~) (< 4.12.2~))
(and (>= 4.13.1~) (< 4.13.2~))
)
)
(diskuvbox (and (>= 0.1.0) :build))))

0 comments on commit b5c8263

Please sign in to comment.