-
Notifications
You must be signed in to change notification settings - Fork 416
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ulysse Gérard <[email protected]>
- Loading branch information
Showing
6 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
copy_files would break the generation of the preprocessing flags | ||
$ dune build copy_files/.merlin-conf | ||
$ cat _build/default/copy_files/.merlin-conf | | ||
> sed 's/[0-9]*:/?:/g' | sed 's/)/)|/g' | tr '|' '\n' | grep -E "FLG\?:-pp" | ||
(?:FLG?:-pp '$TESTCASE_ROOT/_build/default/pp.exe') | ||
> sed 's/[0-9]*:/?:/g' | sed 's/)/)|/g' | tr '|' '\n' | grep -E "pp" | ||
(?:FLG(?:-pp?:$TESTCASE_ROOT/_build/default/pp.exe) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,8 @@ | |
(?:S?:$LIB_PREFIX/lib/ocaml) | ||
(?:S?:$TESTCASE_ROOT/exe) | ||
(?:S?:$LIB_PREFIX/lib) | ||
(?:FLG?:-pp '$TESTCASE_ROOT/_build/default/pp/pp.exe') | ||
(?:FLG?:-w -40)) | ||
(?:FLG(?:-pp?:$TESTCASE_ROOT/_build/default/pp/pp.exe)) | ||
(?:FLG(?:-w?:-40))) | ||
# Processing lib/.merlin-conf | ||
((?:EXCLUDE_QUERY_DIR) | ||
(?:B?:$LIB_PREFIX/lib/bytes) | ||
|
@@ -26,8 +26,8 @@ | |
(?:S?:$LIB_PREFIX/lib/ocaml) | ||
(?:S?:$LIB_PREFIX/lib) | ||
(?:S?:$LIB_PREFIX/lib/subdir) | ||
(?:FLG?:-ppx '$PPX/4128e43a9cfb141a37f547484cc9bf46/ppx.exe --as-ppx --cookie '\''library-name="foo"'\''') | ||
(?:FLG?:-open Foo -w -40 -open Bar -w -40)) | ||
(?:FLG(?:-ppx?:$TESTCASE_ROOT/_build/default/.ppx/4128e43a9cfb141a37f547484cc9bf46/ppx.exe --as-ppx --cookie 'library-name="foo"')) | ||
(?:FLG(?:-open?:Foo?:-w?:-?:-open?:Bar?:-w?:-40))) | ||
|
||
Make sure a ppx directive is generated | ||
|
||
|
@@ -41,8 +41,8 @@ Make sure pp flag is correct and variables are expanded | |
((?:EXCLUDE_QUERY_DIR) | ||
(?:B?:$TESTCASE_ROOT/_build/default/pp-with-expand/.foobar.eobjs/byte) | ||
(?:S?:$TESTCASE_ROOT/pp-with-expand) | ||
(?:FLG?:-pp '$TESTCASE_ROOT/_build/default/pp/pp.exe -nothing') | ||
(?:FLG?:-w @[email protected]@30..39@[email protected]@[email protected]40 -strict-sequence -strict-formats -short-paths -keep-locs)) | ||
(?:FLG(?:-pp?:$TESTCASE_ROOT/_build/default/pp/pp.exe -nothing)) | ||
(?:FLG(?:-w?:@1..3@5[email protected]@[email protected]@[email protected]?:-strict-sequence?:-strict-formats?:-short-paths?:-keep-locs))) | ||
|
||
We want future-syntax to either be applied, or not, depending on OCaml version. | ||
Adding the `echo` with expected output to the set of lines is a way of achieving that. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters