Meta: Also run markdown-check on markdown files in each Port subdir

This commit is contained in:
Ben Wiederhake 2023-05-20 01:36:52 +02:00 committed by Andreas Kling
parent 7ad212ff63
commit f43f83512e
Notes: sideshowbarker 2024-07-17 17:06:59 +09:00
2 changed files with 4 additions and 4 deletions

View file

@ -23,4 +23,4 @@ if [ -z "$SERENITY_SOURCE_DIR" ] ; then
export SERENITY_SOURCE_DIR
fi
find AK Base Documentation Kernel Meta Ports Tests Userland -path 'Ports/*/*' -prune -o -type f -name '*.md' -print0 | xargs -0 "${MARKDOWN_CHECK_BINARY}" README.md CONTRIBUTING.md
find AK Base Documentation Kernel Meta Ports Tests Userland -type f -name '*.md' -print0 | xargs -0 "${MARKDOWN_CHECK_BINARY}" README.md CONTRIBUTING.md

View file

@ -6,9 +6,9 @@
/*
* You may want to invoke the checker like this:
* $ cd Build/lagom
* $ ninja
* $ find ../../AK ../../Base ../../Documentation/ ../../Kernel/ ../../Meta/ ../../Ports/ ../../Tests/ ../../Userland/ -type f -name '*.md' | xargs ./markdown-check ../../README.md
* $ ninja -C Build/lagom
* $ export SERENITY_SOURCE_DIR=/path/to/serenity
* $ find AK Base Documentation Kernel Meta Ports Tests Userland -type f -name '*.md' -print0 | xargs -0 Build/lagom/markdown-check README.md CONTRIBUTING.md
*/
#include <AK/Format.h>