Skip to content

Commit f37ab1a

Browse files
committed
Attach ppxlib-pp-ast tests to the ppxlib-tools package
Signed-off-by: Nathan Rebours <[email protected]>
1 parent 00d08f5 commit f37ab1a

File tree

7 files changed

+29
-13
lines changed

7 files changed

+29
-13
lines changed

dune-project

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
(lang dune 2.7)
1+
(lang dune 2.8)
22
(name ppxlib)
33
(using cinaps 1.0)
4-
(allow_approximate_merlin)
54
(implicit_transitive_deps false)
65
(cram enable)
76
(generate_opam_files true)

ppxlib-bench.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ homepage: "https://github.com/ocaml-ppx/ppxlib"
1212
doc: "https://ocaml-ppx.github.io/ppxlib/"
1313
bug-reports: "https://github.com/ocaml-ppx/ppxlib/issues"
1414
depends: [
15-
"dune" {>= "2.7"}
15+
"dune" {>= "2.8"}
1616
"ocaml" {>= "4.04.1"}
1717
"ppxlib" {= version}
1818
"base"

ppxlib-tools.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ homepage: "https://github.com/ocaml-ppx/ppxlib"
1313
doc: "https://ocaml-ppx.github.io/ppxlib/"
1414
bug-reports: "https://github.com/ocaml-ppx/ppxlib/issues"
1515
depends: [
16-
"dune" {>= "2.7"}
16+
"dune" {>= "2.8"}
1717
"ocaml" {>= "4.08.0"}
1818
"ppxlib" {= version}
1919
"cmdliner" {>= "1.3.0"}

ppxlib.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ homepage: "https://github.com/ocaml-ppx/ppxlib"
2020
doc: "https://ocaml-ppx.github.io/ppxlib/"
2121
bug-reports: "https://github.com/ocaml-ppx/ppxlib/issues"
2222
depends: [
23-
"dune" {>= "2.7"}
23+
"dune" {>= "2.8"}
2424
"ocaml" {>= "4.04.1" & < "5.4.0"}
2525
"ocaml-compiler-libs" {>= "v0.11.0"}
2626
"ppx_derivers" {>= "1.0"}

test/driver/exception_handling/dune

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
(executables
2-
(names whole_file_exception whole_file_extension_point
3-
whole_file_located_error extender deriver whole_file_multiple_errors
4-
constant_type special_functions)
2+
(names
3+
whole_file_exception
4+
whole_file_extension_point
5+
whole_file_located_error
6+
extender
7+
deriver
8+
whole_file_multiple_errors
9+
constant_type
10+
special_functions)
511
(libraries ppxlib))
612

713
(cram
8-
(deps extender.exe whole_file_exception.exe whole_file_located_error.exe
9-
deriver.exe whole_file_extension_point.exe whole_file_multiple_errors.exe
10-
constant_type.exe special_functions.exe))
14+
(deps
15+
extender.exe
16+
whole_file_exception.exe
17+
whole_file_located_error.exe
18+
deriver.exe
19+
whole_file_extension_point.exe
20+
whole_file_multiple_errors.exe
21+
constant_type.exe
22+
special_functions.exe))

test/driver/ocaml-ppx-context-load-path-migration/dune

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22
(name driver)
33
(enabled_if
44
(>= %{ocaml_version} "5.2"))
5-
(libraries ppxlib ppxlib.ast ppxlib.astlib ocaml-compiler-libs.common
6-
compiler-libs.common))
5+
(libraries
6+
ppxlib
7+
ppxlib.ast
8+
ppxlib.astlib
9+
ocaml-compiler-libs.common
10+
compiler-libs.common))
711

812
(cram
913
(enabled_if

test/ppxlib-pp-ast/dune

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
(cram
2+
(package ppxlib-tools)
23
(deps
34
../../bin/pp_ast.exe
45
(package ppxlib)))

0 commit comments

Comments
 (0)