Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
gpetiot committed Nov 8, 2023
1 parent d0a28cf commit 14cb0a3
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/dune
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
(backend bisect_ppx))
(libraries
format_
ocaml_common
ocamlformat-lib._ocaml-common
parser_standard
parser_extended
ocamlformat_stdlib
Expand Down
9 changes: 9 additions & 0 deletions test/install/ocamlformat-lib/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
(executable
(name foo)
(libraries ocamlformat-lib ppxlib))

(rule
(alias runtest)
(deps ./foo.exe)
(action
(run %{deps})))
3 changes: 3 additions & 0 deletions test/install/ocamlformat-lib/foo.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
let _ = Ocamlformat_lib.Translation_unit.parse_and_format

type t = Ppxlib_ast.Parsetree.structure
2 changes: 1 addition & 1 deletion vendor/ocaml-common/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(library
(name ocaml_common)
(public_name ocamlformat-lib.ocaml_common)
(public_name ocamlformat-lib._ocaml-common)
(flags
(:standard -w -9 -open Parser_shims))
(libraries parser_shims))
2 changes: 1 addition & 1 deletion vendor/ocamlformat-stdlib/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
(public_name ocamlformat-lib.ocamlformat_stdlib)
(flags
(:standard -open Ocaml_common))
(libraries base cmdliner ocaml_common fpath stdio))
(libraries base cmdliner ocamlformat-lib._ocaml-common fpath stdio))
6 changes: 5 additions & 1 deletion vendor/parser-extended/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
(public_name ocamlformat-lib.parser_extended)
(flags
(:standard -w -9 -open Parser_shims -open Ocaml_common))
(libraries compiler-libs.common menhirLib parser_shims ocaml_common))
(libraries
compiler-libs.common
menhirLib
parser_shims
ocamlformat-lib._ocaml-common))

(ocamllex lexer)

Expand Down
6 changes: 5 additions & 1 deletion vendor/parser-standard/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
(public_name ocamlformat-lib.parser_standard)
(flags
(:standard -w -9 -open Parser_shims -open Ocaml_common))
(libraries compiler-libs.common menhirLib parser_shims ocaml_common))
(libraries
compiler-libs.common
menhirLib
parser_shims
ocamlformat-lib._ocaml-common))

(ocamllex lexer)

Expand Down

0 comments on commit 14cb0a3

Please sign in to comment.