logiguard fork v3: full patch set on verified 8c74db0 tree
Includes prior-session patches (carry forward so the app compiles): - crates/gpui/build.rs: cross-compile manifest fix - crates/gpui/src/platform.rs: PlatformWindow::activate_with_token trait method - crates/gpui/src/window.rs: Window::activate_with_token public API - crates/gpui_linux/src/linux/wayland/window.rs: WaylandWindow::activate_with_token + activate() keyboard-serial fix Plus the focus-serial fix: - serial.rs: SerialKind::KeyboardEnter - client.rs: store wl_keyboard.enter serial; latest_serial_of() Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
32
script/check-links
Executable file
32
script/check-links
Executable file
@@ -0,0 +1,32 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
usage() {
|
||||
echo "Usage: $0 [local|all] [--help]"
|
||||
echo " local Only check local links (default)"
|
||||
echo " all Check all links including remote ones"
|
||||
exit 1
|
||||
}
|
||||
|
||||
check_mode="local"
|
||||
if [ $# -eq 1 ]; then
|
||||
case "$1" in
|
||||
"local") check_mode="local" ;;
|
||||
"all") check_mode="all" ;;
|
||||
"--help") usage ;;
|
||||
*) echo "Invalid argument: $1" && usage ;;
|
||||
esac
|
||||
else
|
||||
usage
|
||||
fi
|
||||
|
||||
cargo install lychee
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
if [ "$check_mode" = "all" ]; then
|
||||
lychee --no-progress './docs/src/**/*'
|
||||
else
|
||||
lychee --exclude '^http' './docs/src/**/*'
|
||||
fi
|
||||
#
|
||||
Reference in New Issue
Block a user