1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00

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
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 export SERENITY_SOURCE_DIR
fi 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: * You may want to invoke the checker like this:
* $ cd Build/lagom * $ ninja -C Build/lagom
* $ ninja * $ export SERENITY_SOURCE_DIR=/path/to/serenity
* $ find ../../AK ../../Base ../../Documentation/ ../../Kernel/ ../../Meta/ ../../Ports/ ../../Tests/ ../../Userland/ -type f -name '*.md' | xargs ./markdown-check ../../README.md * $ 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> #include <AK/Format.h>