summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2018-08-27 14:02:18 +0800
committerJoyee Cheung <joyeec9h3@gmail.com>2018-09-17 14:48:28 -0400
commitbb9d788f772eaf3d6f61fcc27ec2788992faf625 (patch)
tree91ff1f74eb6005551d59dbc4a05755182ff4d623 /Makefile
parente692a098023a9966e8aa1fc6fda31fb3dee8373c (diff)
downloadandroid-node-v8-bb9d788f772eaf3d6f61fcc27ec2788992faf625.tar.gz
android-node-v8-bb9d788f772eaf3d6f61fcc27ec2788992faf625.tar.bz2
android-node-v8-bb9d788f772eaf3d6f61fcc27ec2788992faf625.zip
build: do not lint fixtures in make lint-md
PR-URL: https://github.com/nodejs/node/pull/22549 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5325abe40c..5fc2bb0c58 100644
--- a/Makefile
+++ b/Makefile
@@ -1087,7 +1087,8 @@ tools/.docmdlintstamp: $(LINT_MD_DOC_FILES)
LINT_MD_TARGETS = src lib benchmark test tools/doc tools/icu
LINT_MD_ROOT_DOCS := $(wildcard *.md)
LINT_MD_MISC_FILES := $(shell find $(LINT_MD_TARGETS) -type f \
- -not -path '*node_modules*' -name '*.md') $(LINT_MD_ROOT_DOCS)
+ -not -path '*node_modules*' -not -path 'test/fixtures/*' -name '*.md') \
+ $(LINT_MD_ROOT_DOCS)
run-lint-misc-md = tools/lint-md.js -q -f $(LINT_MD_MISC_FILES)
# Lint other changed markdown files maintained by us
tools/.miscmdlintstamp: $(LINT_MD_MISC_FILES)