fix: make build.sh compile release version
This commit is contained in:
parent
92697d8da7
commit
d8b855a853
1 changed files with 8 additions and 8 deletions
16
build.sh
16
build.sh
|
@ -13,18 +13,18 @@ select opt in "${options[@]}"
|
||||||
do
|
do
|
||||||
case $opt in
|
case $opt in
|
||||||
"Windows")
|
"Windows")
|
||||||
cargo build --bin solcrypt_main --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
|
cargo build --bin decryptor --target x86_64-pc-windows-gnu --release
|
||||||
;;
|
;;
|
||||||
"Linux")
|
"Linux")
|
||||||
cargo build --bin solcrypt_main --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
|
cargo build --bin decryptor --target x86_64-unknown-linux-gnu --release
|
||||||
;;
|
;;
|
||||||
"Both")
|
"Both")
|
||||||
cargo build --bin solcrypt_main --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
|
cargo build --bin decryptor --target x86_64-pc-windows-gnu --release
|
||||||
cargo build --bin solcrypt_main --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
|
cargo build --bin decryptor --target x86_64-unknown-linux-gnu --release
|
||||||
;;
|
;;
|
||||||
"Quit")
|
"Quit")
|
||||||
mv src/crypto.rs.bak src/crypto.rs
|
mv src/crypto.rs.bak src/crypto.rs
|
||||||
|
|
Loading…
Reference in a new issue