From 9bc0cde91a3b60d839b495dcb8d4d26f689591b6 Mon Sep 17 00:00:00 2001 From: taynpg Date: Sun, 6 Jul 2025 14:01:19 +0800 Subject: [PATCH] remove: file. --- Script/qt5142.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Script/qt5142.sh b/Script/qt5142.sh index 46b448d..51328c1 100755 --- a/Script/qt5142.sh +++ b/Script/qt5142.sh @@ -1,6 +1,7 @@ #!/bin/bash current_user=$(whoami) qt_path="/home/${current_user}/Qt5.14.2/5.14.2/gcc_64" +build_dir="build-linux/linux/x64/release" if [ -d "$qt_path" ]; then @@ -11,6 +12,8 @@ if [ -d "$qt_path" ]; then xmake if [ $? -eq 0 ]; then + find "$build_dir" -name "*.a" -delete 2>/dev/null + find "$build_dir" -name "*Test*" -type f -delete 2>/dev/null echo "xmake command executed successfully" else echo "xmake command failed"