Skip to content

Commit

Permalink
Fix dune files for opam-repo checks (#2263)
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate authored Mar 6, 2023
1 parent 95ee0a1 commit 582750f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@
dune
(ocamlformat-lib
(= :version))
(ocamlformat-rpc-lib
(and :with-test (= :version)))
(re
(>= 1.10.3))))

Expand Down
1 change: 1 addition & 0 deletions ocamlformat.opam
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ depends: [
"cmdliner" {>= "1.1.0"}
"dune" {>= "2.8"}
"ocamlformat-lib" {= version}
"ocamlformat-rpc-lib" {with-test & = version}
"re" {>= "1.10.3"}
"odoc" {with-doc}
]
Expand Down
3 changes: 3 additions & 0 deletions test/unit/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
(test
(name test_unit)
(deps
../passing/tests/partial.ml
../passing/tests/format_invalid_files_with_locations.ml)
(package ocamlformat-lib)
(libraries alcotest base ocamlformat-lib))
1 change: 1 addition & 0 deletions vendor/parser-recovery/lib/dune
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@

(rule
(alias runtest)
(package ocamlformat-lib)
(action
(diff recovery_parser.log recovery_parser.stderr)))

0 comments on commit 582750f

Please sign in to comment.