Skip to content

Commit

Permalink
Update to newer Dune
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterDA committed Jan 2, 2023
1 parent 645d9d8 commit 1ab2428
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
4 changes: 1 addition & 3 deletions config-file.opam
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ license: "LGPL-2.0-or-later"
homepage: "https://github.com/MisterDA/config-file"
bug-reports: "https://github.com/MisterDA/config-file/issues"
depends: [
"dune" {>= "2.9"}
"dune" {>= "3.6"}
"ocaml" {>= "4.02"}
"camlp-streams"
"camlp4" {build}
Expand All @@ -34,11 +34,9 @@ build: [
name
"-j"
jobs
"--promote-install-files=false"
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
["dune" "install" "-p" name "--create-install-files" name]
]
dev-repo: "git+https://github.com/MisterDA/config-file.git"
11 changes: 10 additions & 1 deletion dune
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@
(action
(chdir
%{workspace_root}
(run %{bin:camlp4} pa_o.cmo pa_op.cmo pr_o.cmo -- -o %{target} -impl %{deps}))))
(run
%{bin:camlp4}
pa_o.cmo
pa_op.cmo
pr_o.cmo
--
-o
%{target}
-impl
%{deps}))))

(rule
(target config_file.ml)
Expand Down
4 changes: 2 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
(lang dune 2.9)
(lang dune 3.6)
(name config-file)

(generate_opam_files true)
(formatting disabled)
(formatting (enabled_for dune))

(source (github MisterDA/config-file))
(license "LGPL-2.0-or-later")
Expand Down

0 comments on commit 1ab2428

Please sign in to comment.