We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ceeb67c commit 944ef26Copy full SHA for 944ef26
1 file changed
Makefile
@@ -29,6 +29,7 @@ help:
29
# Determine the Makefile's path:
30
THIS_FILE := $(lastword $(MAKEFILE_LIST))
31
32
+GREP ?= grep
33
NPM ?= npm
34
NODE ?= node
35
NODE_ENV ?= test
@@ -45,7 +46,7 @@ endif
45
46
47
# NOTES #
48
-NOTES ?= 'TODO|FIXME|WARNING|HACK|NOTE'
49
+NOTES ?= 'TODO|FIXME|WARNING|HACK|NOTE|OPTIMIZE'
50
51
52
# TAPE #
@@ -160,7 +161,7 @@ endif
160
161
.PHONY: notes
162
163
notes:
- grep -Ern $(NOTES) $(SOURCE_DIR) \
164
+ $(GREP) -Ern $(NOTES) $(SOURCE_DIR) \
165
--exclude-dir "$(NODE_MODULES)/*" \
166
--exclude $(THIS_FILE) \
167
--exclude './.*' \
0 commit comments