Skip to content

Commit 45858ab

Browse files
committed
Update to Dune 3.17
1 parent 261c76d commit 45858ab

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

config/discover.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
open Base
22
open Stdio
3-
module C = Configurator
3+
module C = Configurator.V1
44

55
let write_sexp fn list_of_str =
66
let data = sexp_of_list sexp_of_string list_of_str |> Sexp.to_string in

config/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
(executable
22
(name discover)
3-
(libraries base stdio configurator))
3+
(libraries base stdio dune-configurator))

dune-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
(lang dune 2.5)
1+
(lang dune 3.17)

gobject-introspection.opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ build: [
1515
]
1616
depends: [
1717
"ocaml"
18-
"dune" {>= "1.2"}
18+
"dune" {>= "3.17"}
1919
"ctypes"
2020
"ctypes-foreign"
2121
"ounit"
2222
"base"
2323
"stdio"
24-
"configurator"
24+
"dune-configurator" {build}
2525
"conf-pkg-config" {build}
2626
"conf-gobject-introspection" {build}
2727
"conf-glib-2" {build}

lib/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
(rule
1111
(targets c_flags.sexp c_library_flags.sexp ccopts.sexp)
1212
(deps (:x ../config/discover.exe))
13-
(action (run %{x} -ocamlc %{ocamlc}))
13+
(action (run %{x}))
1414
)
1515

1616
(rule

stubgen/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,5 +154,5 @@
154154
(rule
155155
(targets c_library_flags c_flags)
156156
(deps (:x ../config/discover.exe))
157-
(action (run %{x} -ocamlc %{ocamlc}))
157+
(action (run %{x}))
158158
)

0 commit comments

Comments
 (0)