Skip to content

Commit 6affb41

Browse files
committed
fix runtest alias
1 parent c3bcc43 commit 6affb41

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

ppx/native/dune

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,17 @@
2727
%{target}
2828
(run echo "let () = Ppxlib.Driver.standalone ()"))))
2929

30-
(include_subdirs (unqualified))
30+
(copy_files#
31+
(files ./common/ppx_deriving_json_common.ml))
32+
33+
(copy_files#
34+
(files ./common/ppx_deriving_tools.{ml,mli}))
35+
36+
; include_subdirs triggers a dependency cycle
37+
; $ dune runtest
38+
; Error: Dependency cycle between:
39+
; alias .melange-json-files
40+
; -> alias .melange-json-native-files
41+
; -> alias .melange-json-files
42+
; -> required by alias ppx/test/runtest
43+
; (include_subdirs (unqualified))

0 commit comments

Comments
 (0)