Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9185cfe

Browse filesBrowse files
watildegibfahn
authored andcommitted
build: add lint-md-build
PR-URL: #12756 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
1 parent ea415a6 commit 9185cfe
Copy full SHA for 9185cfe

File tree

Expand file treeCollapse file tree

2 files changed

+9
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+9
-1
lines changed
Open diff view settings
Collapse file

‎.gitignore‎

Copy file name to clipboardExpand all lines: .gitignore
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ deps/npm/node_modules/.bin/
104104

105105
# test artifacts
106106
tools/faketime
107+
tools/remark-cli
108+
tools/remark-preset-lint-node
107109
icu_config.gypi
108110
*.tap
109111

Collapse file

‎Makefile‎

Copy file name to clipboardExpand all lines: Makefile
+7-1Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,13 @@ bench: bench-net bench-http bench-fs bench-tls
945945

946946
bench-ci: bench
947947

948-
lint-md:
948+
lint-md-build:
949+
if [ ! -d tools/remark-cli/node_modules ]; then \
950+
cd tools/remark-cli && ../../$(NODE) ../../$(NPM) install; fi
951+
if [ ! -d tools/remark-preset-lint-node/node_modules ]; then \
952+
cd tools/remark-preset-lint-node && ../../$(NODE) ../../$(NPM) install; fi
953+
954+
lint-md: lint-md-build
949955
@echo "Running Markdown linter..."
950956
$(NODE) tools/remark-cli/cli.js -q -f \
951957
./*.md doc src lib benchmark tools/doc/ tools/icu/

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.