You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Define the command-line options to use when invoking `grep`:
11
-
GREP_FLAGS ?= -Ern
10
+
# Define the command-line options:
11
+
FIND_NOTES_FLAGS ?= -Ern
12
12
13
13
# Define the search directory:
14
-
GREP_DIR ?= $(ROOT_DIR)
14
+
FIND_NOTES_DIR ?= $(ROOT_DIR)
15
15
16
16
17
17
# TARGETS #
@@ -21,7 +21,7 @@ GREP_DIR ?= $(ROOT_DIR)
21
21
# This target searches for annotated comments which indicate work that remains to be completed. Annotated comments will be output, along with the filename and line number where they appear.
Copy file name to clipboardExpand all lines: tools/make/lib/test-cov/istanbul.mk
+33-4Lines changed: 33 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
# Define the command to recursively sync directories:
5
5
RSYNC_RECURSIVE ?= rsync -r
6
6
7
-
# Define the command to recursively create directories:
7
+
# Define the command to recursively create directories (WARNING: possible portability issues on some systems!):
8
8
MKDIR_RECURSIVE ?= mkdir -p
9
9
10
10
# Define the command for removing files and directories:
@@ -22,6 +22,24 @@ else
22
22
endif
23
23
# TODO: add Windows command
24
24
25
+
# On Mac OSX, in order to use `|` and other regular expression operators, we need to use enhanced regular expression syntax (-E); see https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man7/re_format.7.html#//apple_ref/doc/man/7/re_format.
26
+
27
+
ifeq ($(KERNEL), Darwin)
28
+
find_kernel_prefix := -E
29
+
else
30
+
find_kernel_prefix :=
31
+
endif
32
+
33
+
# Define command-line flags for finding test directories for instrumented source code:
0 commit comments