Skip to content

Commit

Permalink
Require Dune 2.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aantron committed Oct 21, 2020
1 parent 27c4b85 commit dcfe904
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY : build
build :
dune build
dune build -p markup,markup-lwt

# This is not part of the ordinary build process. The output file, entities.ml,
# is checked into git.
Expand All @@ -12,7 +12,7 @@ entities :
COVERAGE := _coverage

.PHONY : test
test : build
test :
dune runtest

.PHONY : coverage
Expand Down
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
@@ -1 +1 @@
(lang dune 1.0)
(lang dune 2.7)
2 changes: 1 addition & 1 deletion markup-lwt.opam
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dev-repo: "git+https://github.com/aantron/markup.ml.git"

depends: [
"base-unix"
"dune"
"dune" {>= "2.7.0"}
"lwt"
"markup"
"ocaml"
Expand Down
2 changes: 1 addition & 1 deletion markup.opam
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ maintainer: "Anton Bachin <antonbachin@yahoo.com>"
dev-repo: "git+https://github.com/aantron/markup.ml.git"

depends: [
"dune"
"dune" {>= "2.7.0"}
"ocaml" {>= "4.02.0"}
"uchar"
"uutf" {>= "1.0.0"}
Expand Down
4 changes: 2 additions & 2 deletions test/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
(libraries markup ounit2 test_support)
(flags (:standard -w +A-44-48)))

(alias
(name runtest)
(rule
(alias runtest)
(package markup)
(action (run %{exe:test.exe} -runner sequential)))
1 change: 1 addition & 0 deletions test/js_of_ocaml/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(executable
(name test_js_of_ocaml)
(modes js)
(libraries markup markup-lwt)
(flags (:standard -w +A-44)))
4 changes: 2 additions & 2 deletions test/lwt_unix/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
(libraries lwt.unix markup-lwt.unix ounit2 test_support)
(flags (:standard -w +A-44)))

(alias
(name runtest)
(rule
(alias runtest)
(package markup-lwt)
(action (run %{exe:test_lwt.exe} -runner sequential)))

0 comments on commit dcfe904

Please sign in to comment.