Skip to content

Commit

Permalink
[chore] add checklinks to makefile (open-telemetry#5729)
Browse files Browse the repository at this point in the history
* add checklinks to makefile

* revert ticks

* move checklinks into Makefile
  • Loading branch information
TylerHelmuth authored Jul 26, 2022
1 parent 76698c1 commit 6c919d6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -416,3 +416,9 @@ endif
.PHONY: clean
clean:
test -d bin && $(RM) bin/*

.PHONY: checklinks
checklinks:
command -v markdown-link-check >/dev/null 2>&1 || { echo >&2 "markdown-link-check not installed. Run 'npm install -g markdown-link-check'"; exit 1; }
find . -name \*.md -print0 | xargs -0 -n1 \
markdown-link-check -q -c ./.github/workflows/check_links_config.json || true

0 comments on commit 6c919d6

Please sign in to comment.