Рефакторинг и оптимизация Tachyon: модульный генератор sing-box, атомарная запись файлов, graceful shutdown в watchdog, ускорение nftables, доработка трассировщика правил и локализация

This commit is contained in:
Dushnilin
2026-07-23 10:07:15 +03:00
parent 16b4c39693
commit 1409b6ed3d
32 changed files with 6730 additions and 4895 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -eo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ROOT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
echo "=== Linting ucode files in $ROOT_DIR ==="
find "$ROOT_DIR/tachyon/files/usr/lib" -name "*.uc" -print0 | while IFS= read -r -d '' file; do
echo "Checking: ${file#$ROOT_DIR/}"
ucode -c "$file" -o /dev/null
ucode -S -c "$file" -o /dev/null
done
echo "All ucode files compiled successfully."