From 2773101035aef02c30eec7547d9fba048d23e4bd Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 7 Nov 2025 17:17:05 +0000 Subject: [PATCH] chore: Clean up source directories after building aigpt and aibot Remove gpt/ and bot/ directories after copying binaries to save disk space. --- build.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.zsh b/build.zsh index 5df4fc0..1cbfd54 100755 --- a/build.zsh +++ b/build.zsh @@ -69,11 +69,11 @@ arch-chroot root.x86_64 /bin/sh -c 'echo "%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bi # Install aigpt (aios core package) echo "Installing aigpt..." -arch-chroot root.x86_64 /bin/sh -c 'git clone https://git.syui.ai/ai/gpt && cd gpt && cargo build --release && cp -rf ./target/release/aigpt /bin/' +arch-chroot root.x86_64 /bin/sh -c 'git clone https://git.syui.ai/ai/gpt && cd gpt && cargo build --release && cp -rf ./target/release/aigpt /bin/ && cd .. && rm -rf gpt' # Install aibot (aios core package) echo "Installing aibot..." -arch-chroot root.x86_64 /bin/sh -c 'git clone https://git.syui.ai/ai/bot && cd bot && cargo build && cp -rf ./target/debug/aibot /bin/ && aibot ai' +arch-chroot root.x86_64 /bin/sh -c 'git clone https://git.syui.ai/ai/bot && cd bot && cargo build && cp -rf ./target/debug/aibot /bin/ && aibot ai && cd .. && rm -rf bot' echo "✓ Arch Linux base complete" echo ""