use lang 2.0 and format dune files (#440)
This commit is contained in:
parent
fc32fa37a1
commit
bfabaacf2a
|
@ -1,4 +1,5 @@
|
||||||
(lang dune 1.11)
|
(lang dune 2.0)
|
||||||
|
(formatting (enabled_for dune))
|
||||||
(name utop)
|
(name utop)
|
||||||
|
|
||||||
(generate_opam_files)
|
(generate_opam_files)
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
(executable
|
(executable
|
||||||
(name myutop)
|
(name myutop)
|
||||||
|
(modes byte)
|
||||||
(link_flags -linkall)
|
(link_flags -linkall)
|
||||||
(libraries utop))
|
(libraries utop))
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
(executable
|
(executable
|
||||||
(name test_program)
|
(name test_program)
|
||||||
|
(modes byte)
|
||||||
(link_flags -linkall)
|
(link_flags -linkall)
|
||||||
(libraries utop))
|
(libraries utop))
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
(public_name utop)
|
(public_name utop)
|
||||||
(wrapped false)
|
(wrapped false)
|
||||||
(modes byte)
|
(modes byte)
|
||||||
(libraries compiler-libs.toplevel findlib.top lambda-term logs.lwt threads zed)
|
(libraries compiler-libs.toplevel findlib.top lambda-term logs.lwt threads
|
||||||
|
zed)
|
||||||
(preprocess
|
(preprocess
|
||||||
(action
|
(action
|
||||||
(run %{bin:cppo} -V OCAML:%{ocaml_version} %{input-file}))))
|
(run %{bin:cppo} -V OCAML:%{ocaml_version} %{input-file}))))
|
||||||
|
|
|
@ -10,7 +10,7 @@ homepage: "https://github.com/ocaml-community/utop"
|
||||||
doc: "https://ocaml-community.github.io/utop/"
|
doc: "https://ocaml-community.github.io/utop/"
|
||||||
bug-reports: "https://github.com/ocaml-community/utop/issues"
|
bug-reports: "https://github.com/ocaml-community/utop/issues"
|
||||||
depends: [
|
depends: [
|
||||||
"dune" {>= "1.11"}
|
"dune" {>= "2.0"}
|
||||||
"ocaml" {>= "4.08.0"}
|
"ocaml" {>= "4.08.0"}
|
||||||
"base-unix"
|
"base-unix"
|
||||||
"base-threads"
|
"base-threads"
|
||||||
|
|
Loading…
Reference in New Issue