mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 15:58:56 +00:00
Meta: Remove unused, defunct lint script leftover from SerenityOS
This commit is contained in:
parent
a01a3b18f5
commit
a00a5c9ac5
Notes:
github-actions[bot]
2025-02-12 17:39:11 +00:00
Author: https://github.com/InvalidUsernameException
Commit: a00a5c9ac5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3544
Reviewed-by: https://github.com/AtkinsSJ ✅
1 changed files with 0 additions and 27 deletions
|
@ -1,27 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
|
||||
cd "${script_path}/.."
|
||||
|
||||
if [ -z "${MARKDOWN_CHECK_BINARY:-}" ] ; then
|
||||
if ! [ -d Build/lagom/ ] ; then
|
||||
echo "Directory Build/lagom/ does not exist. Skipping markdown check."
|
||||
exit 0
|
||||
fi
|
||||
if ! [ -r Build/lagom/bin/markdown-check ] ; then
|
||||
echo "Lagom executable markdown-check was not built. Skipping markdown check."
|
||||
echo "To enable this check, you may need to run './Meta/ladybird.sh build' first."
|
||||
exit 0
|
||||
fi
|
||||
MARKDOWN_CHECK_BINARY="Build/lagom/bin/markdown-check"
|
||||
fi
|
||||
|
||||
if [ -z "$LADYBIRD_SOURCE_DIR" ] ; then
|
||||
LADYBIRD_SOURCE_DIR=$(pwd -P)
|
||||
export LADYBIRD_SOURCE_DIR
|
||||
fi
|
||||
|
||||
# shellcheck disable=SC2086 # Word splitting is intentional here
|
||||
find AK Base Documentation Libraries Meta Tests -path Tests/LibWeb/WPT/wpt -prune -o -type f -name '*.md' -print0 | xargs -0 "${MARKDOWN_CHECK_BINARY}" -b "${LADYBIRD_SOURCE_DIR}/Base" $EXTRA_MARKDOWN_CHECK_ARGS README.md CONTRIBUTING.md
|
Loading…
Add table
Add a link
Reference in a new issue