Skip to content

Commit 944ef26

Browse files
committed
Add OPTIMIZE keyword
1 parent ceeb67c commit 944ef26

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ help:
2929
# Determine the Makefile's path:
3030
THIS_FILE := $(lastword $(MAKEFILE_LIST))
3131

32+
GREP ?= grep
3233
NPM ?= npm
3334
NODE ?= node
3435
NODE_ENV ?= test
@@ -45,7 +46,7 @@ endif
4546

4647
# NOTES #
4748

48-
NOTES ?= 'TODO|FIXME|WARNING|HACK|NOTE'
49+
NOTES ?= 'TODO|FIXME|WARNING|HACK|NOTE|OPTIMIZE'
4950

5051

5152
# TAPE #
@@ -160,7 +161,7 @@ endif
160161
.PHONY: notes
161162

162163
notes:
163-
grep -Ern $(NOTES) $(SOURCE_DIR) \
164+
$(GREP) -Ern $(NOTES) $(SOURCE_DIR) \
164165
--exclude-dir "$(NODE_MODULES)/*" \
165166
--exclude $(THIS_FILE) \
166167
--exclude './.*' \

0 commit comments

Comments
 (0)