From d8b855a8536935286349689a01f79d105ca4241a Mon Sep 17 00:00:00 2001 From: Xory Date: Sun, 30 Jun 2024 18:41:50 +0300 Subject: [PATCH] fix: make build.sh compile release version --- build.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/build.sh b/build.sh index 017ee3a..3b0e43e 100644 --- a/build.sh +++ b/build.sh @@ -13,18 +13,18 @@ select opt in "${options[@]}" do case $opt in "Windows") - cargo build --bin solcrypt_main --target x86_64-pc-windows-gnu - cargo build --bin decryptor --target x86_64-pc-windows-gnu + cargo build --bin solcrypt_main --target x86_64-pc-windows-gnu --release + cargo build --bin decryptor --target x86_64-pc-windows-gnu --release ;; "Linux") - cargo build --bin solcrypt_main --target x86_64-unknown-linux-gnu - cargo build --bin decryptor --target x86_64-unknown-linux-gnu + cargo build --bin solcrypt_main --target x86_64-unknown-linux-gnu --release + cargo build --bin decryptor --target x86_64-unknown-linux-gnu --release ;; "Both") - cargo build --bin solcrypt_main --target x86_64-pc-windows-gnu - cargo build --bin decryptor --target x86_64-pc-windows-gnu - cargo build --bin solcrypt_main --target x86_64-unknown-linux-gnu - cargo build --bin decryptor --target x86_64-unknown-linux-gnu + cargo build --bin solcrypt_main --target x86_64-pc-windows-gnu --release + cargo build --bin decryptor --target x86_64-pc-windows-gnu --release + cargo build --bin solcrypt_main --target x86_64-unknown-linux-gnu --release + cargo build --bin decryptor --target x86_64-unknown-linux-gnu --release ;; "Quit") mv src/crypto.rs.bak src/crypto.rs