From 4cb650865492e8fe0a562cc718aea3a6e016ee9b Mon Sep 17 00:00:00 2001 From: Yuwei B Date: Fri, 22 Sep 2023 01:57:32 +1000 Subject: [PATCH] u --- scripts/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index f312a2d54..b78c18c45 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -2,9 +2,7 @@ set -xe -[ ! -d "target/artifacts" ] && mkdir target/artifacts - - +[ ! -d "target/artifacts" ] && mkdir -p target/artifacts for TARGET in $1; do echo "building for $TARGET" @@ -18,5 +16,6 @@ for TARGET in $1; do ;; esac cargo build -p clash --target $TARGET --release + ls -l ./target/$TARGET/release/ mv ./target/$TARGET/release/clash ./target/artifacts/clash-$TARGET done