Strip binary with new 1.59 feature

This commit is contained in:
veeso
2022-03-05 11:11:07 +01:00
parent 8d9e7443ec
commit 35dc11cce3
5 changed files with 10 additions and 7 deletions

2
dist/build/macos.sh vendored
View File

@@ -18,7 +18,7 @@ if [ ! -f Cargo.toml ]; then
fi
# Build release
cargo build --release && cargo strip
cargo build --release
# Make pkg
cd target/release/
PKG="termscp-v${VERSION}-x86_64-apple-darwin.tar.gz"