Skip to content

Commit

Permalink
Pin correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinepouille committed Sep 10, 2024
1 parent c1b4827 commit f027c50
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 54 deletions.
55 changes: 18 additions & 37 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -30,31 +30,11 @@
)
)

; pinned versions, TODO: remove when added to new opam packages
; (ocaml ( = 4.14.2 ))
; (atdgen ( = 2.15.0 ))
; (atdgen-runtime ( = 2.15.0 ))
; (dune ( = 3.14.0 ))
; (fmt ( = 0.9.0 ))
; (js_of_ocaml ( = 5.7.0 ))
; (js_of_ocaml-lwt ( = 5.7.0 ))
; (js_of_ocaml-ppx ( = 5.7.0 ))
; (js_of_ocaml-tyxml ( = 5.7.0 ))
; (logs ( = 0.7.0 ))
; (lwt ( = 5.7.0 ))
; (lwt_react ( = 1.2.0 ))
; (num ( = 1.5 ))
; (re ( = 1.11.0 ))
; (result ( = 1.5 ))
; (stdlib-shims ( = 0.3.0 ))
; (tyxml-ppx ( = 4.6.0 ))
; (yojson ( = 2.1.0 ))

(package
(name kappa-binaries)
(synopsis "Command line interfaces of the Kappa tool suite. Use this package if you want the CLI kappa tools")
(depends
(ocaml ( = 4.14.2 ))
(ocaml ( >= 4.05.0 ))
(yojson ( = 2.1.0 ))
(lwt ( = 5.7.0 ))
(num ( = 1.5 ))
Expand All @@ -71,7 +51,7 @@
(name kappa-agents)
(synopsis "Backends for an interactive use of the Kappa tool suite. Used by the kappa-webapp, probably not relevant else. Previously used by deprecated kappa-server")
(depends
(ocaml ( = 4.14.2 ))
(ocaml ( >= 4.05.0 ))
(yojson ( = 2.1.0 ))
(lwt ( = 5.7.0 ))
(num ( = 1.5 ))
Expand All @@ -89,22 +69,23 @@
(synopsis "Browser app for an interactive use of the Kappa tool suite. Best way to start with the kappa language")
(depends
(ocaml ( >= 4.05.0 ))
(yojson ( >= 1.6.0 ))
(lwt ( >= 4.2.0 ))
num
re
fmt
logs
atdgen-runtime
atdgen ; TODO: find a way to specify as build dependency only, as with the `build` package variable in opam
lwt_react
tyxml-ppx
js_of_ocaml
js_of_ocaml-ppx
js_of_ocaml-lwt
js_of_ocaml-tyxml
(dune ( = 3.14.0 ))
(yojson ( = 2.1.0 ))
(lwt ( = 5.7.0 ))
(lwt_react ( = 1.2.0 ))
(num ( = 1.5 ))
(re ( = 1.11.0 ))
(fmt ( = 0.9.0 ))
(logs ( = 0.7.0 ))
(atdgen-runtime ( = 2.15.0 ))
(atdgen ( = 2.15.0 )) ; TODO: find a way to specify as build dependency only, as with the `build` package variable in opam
(tyxml-ppx ( = 4.6.0 ))
(js_of_ocaml ( = 5.7.0 ))
(js_of_ocaml-lwt ( = 5.7.0 ))
(js_of_ocaml-ppx ( = 5.7.0 ))
(js_of_ocaml-tyxml ( = 5.7.0 ))
kappa-binaries
kappa-agents
)
; does not build executables as there seem to be no way to build js exes in a package
; does not build executables as there seem to be no way to build js exes in a package ?
)
2 changes: 1 addition & 1 deletion kappa-agents.opam
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ doc:
bug-reports: "https://github.com/Kappa-Dev/KappaTools/issues"
depends: [
"dune" {>= "2.9"}
"ocaml" {= "4.14.2"}
"ocaml" {>= "4.05.0"}
"yojson" {= "2.1.0"}
"lwt" {= "5.7.0"}
"num" {= "1.5"}
Expand Down
2 changes: 1 addition & 1 deletion kappa-binaries.opam
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ doc:
bug-reports: "https://github.com/Kappa-Dev/KappaTools/issues"
depends: [
"dune" {>= "2.9"}
"ocaml" {= "4.14.2"}
"ocaml" {>= "4.05.0"}
"yojson" {= "2.1.0"}
"lwt" {= "5.7.0"}
"num" {= "1.5"}
Expand Down
30 changes: 15 additions & 15 deletions kappa-webapp.opam
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,22 @@ doc:
"https://kappalanguage.org/sites/kappalanguage.org/files/inline-files/Kappa_Manual.pdf"
bug-reports: "https://github.com/Kappa-Dev/KappaTools/issues"
depends: [
"dune" {>= "2.9"}
"ocaml" {>= "4.05.0"}
"yojson" {>= "1.6.0"}
"lwt" {>= "4.2.0"}
"num"
"re"
"fmt"
"logs"
"atdgen-runtime"
"atdgen"
"lwt_react"
"tyxml-ppx"
"js_of_ocaml"
"js_of_ocaml-ppx"
"js_of_ocaml-lwt"
"js_of_ocaml-tyxml"
"dune" {>= "2.9" & = "3.14.0"}
"yojson" {= "2.1.0"}
"lwt" {= "5.7.0"}
"lwt_react" {= "1.2.0"}
"num" {= "1.5"}
"re" {= "1.11.0"}
"fmt" {= "0.9.0"}
"logs" {= "0.7.0"}
"atdgen-runtime" {= "2.15.0"}
"atdgen" {= "2.15.0"}
"tyxml-ppx" {= "4.6.0"}
"js_of_ocaml" {= "5.7.0"}
"js_of_ocaml-lwt" {= "5.7.0"}
"js_of_ocaml-ppx" {= "5.7.0"}
"js_of_ocaml-tyxml" {= "5.7.0"}
"kappa-binaries"
"kappa-agents"
"odoc" {with-doc}
Expand Down

0 comments on commit f027c50

Please sign in to comment.