Skip to content

Commit f378088

Browse files
AltGrEmileRolley
authored andcommitted
Port to OCaml 4.12
1 parent 83607fa commit f378088

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ocaml/opam:alpine-3.13-ocaml-4.12 as compilation
1+
FROM ocaml/opam2:alpine as compilation
22
LABEL Description="learn-ocaml building" Vendor="OCamlPro"
33

44
WORKDIR /home/opam/learn-ocaml

learn-ocaml.opam.locked

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ depends: [
7474
"mmap" {= "1.1.0"}
7575
"num" {= "1.4"}
7676
"ocaml" {= "4.12.0"}
77+
"ocaml-base-compiler" {= "4.12.0"}
7778
"ocaml-compiler-libs" {= "v0.12.3"}
7879
"ocaml-config" {= "2"}
7980
"ocaml-migrate-parsetree" {= "1.8.0"}

src/main/dune

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
;; (package learn-ocaml) ;; missing support in dune, manually installed below
1010
;; (public_name learn-ocaml)
1111
(name learnocaml_main)
12-
(modes byte_complete)
13-
(ocamlc_flags -custom)
14-
(flags :standard -linkall -verbose (:include linking_main.sexp))
12+
(modes byte)
13+
(flags (:standard -linkall
14+
(:include linking_main.sexp)))
1515
(modules Learnocaml_main)
1616
(libraries cmdliner
1717
sha
@@ -31,9 +31,9 @@
3131
;; (package learn-ocaml-client) ;; missing support in dune, manually installed below
3232
;; (public_name learn-ocaml-client)
3333
(name learnocaml_client)
34-
(modes byte_complete)
35-
(ocamlc_flags -custom)
36-
(flags :standard -linkall (:include linking_client.sexp))
34+
(modes byte)
35+
(flags (:standard -linkall
36+
(:include linking_client.sexp)))
3737
(modules Learnocaml_client)
3838
(libraries cmdliner
3939
sha

0 commit comments

Comments
 (0)