-
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
4 changed files
with
67 additions
and
42 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,7 @@ | ||
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 "pp" | ||
(?:FLG(?:-pp?:$TESTCASE_ROOT/_build/default/pp.exe) | ||
$ dune ocaml-merlin --dump-config=$(pwd)/copy_files | | ||
> grep -B 1 -A 0 "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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,31 @@ | ||
$ dune build foo.cma --profile release | ||
$ cat _build/default/.merlin-conf | | ||
> sed 's/[0-9]*:/?:/g' | sed 's/)(/)|(/g' | tr '|' '\n' | ||
$ dune ocaml-merlin --dump-config=$(pwd) | ||
foo | ||
((?:EXCLUDE_QUERY_DIR) | ||
(?:B?:$TESTCASE_ROOT/_build/default/.foo.objs/byte) | ||
(?:S?:$TESTCASE_ROOT) | ||
(?:FLG(?:-open?:Foo?:-w?:-40))) | ||
((EXCLUDE_QUERY_DIR) | ||
(B | ||
$TESTCASE_ROOT/_build/default/.foo.objs/byte) | ||
(S | ||
$TESTCASE_ROOT) | ||
(FLG (-open Foo -w -40))) | ||
|
||
$ rm -f .merlin | ||
$ dune build foo.cma --profile release | ||
$ cat _build/default/.merlin-conf | | ||
> sed 's/[0-9]*:/?:/g' | sed 's/)(/)|(/g' | tr '|' '\n' | ||
$ dune ocaml-merlin --dump-config=$(pwd) | ||
foo | ||
((?:EXCLUDE_QUERY_DIR) | ||
(?:B?:$TESTCASE_ROOT/_build/default/.foo.objs/byte) | ||
(?:S?:$TESTCASE_ROOT) | ||
(?:FLG(?:-open?:Foo?:-w?:-40))) | ||
((EXCLUDE_QUERY_DIR) | ||
(B | ||
$TESTCASE_ROOT/_build/default/.foo.objs/byte) | ||
(S | ||
$TESTCASE_ROOT) | ||
(FLG (-open Foo -w -40))) | ||
|
||
$ echo toto > .merlin | ||
$ dune build foo.cma --profile release | ||
$ cat _build/default/.merlin-conf | | ||
> sed 's/[0-9]*:/?:/g' | sed 's/)(/)|(/g' | tr '|' '\n' | ||
$ dune ocaml-merlin --dump-config=$(pwd) | ||
foo | ||
((?:EXCLUDE_QUERY_DIR) | ||
(?:B?:$TESTCASE_ROOT/_build/default/.foo.objs/byte) | ||
(?:S?:$TESTCASE_ROOT) | ||
(?:FLG(?:-open?:Foo?:-w?:-40))) | ||
((EXCLUDE_QUERY_DIR) | ||
(B | ||
$TESTCASE_ROOT/_build/default/.foo.objs/byte) | ||
(S | ||
$TESTCASE_ROOT) | ||
(FLG (-open Foo -w -40))) |
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