mirror of https://github.com/w4/bin.git
Fix deploy script on arm & windows builds
This commit is contained in:
parent
1115bbc937
commit
41900eaeee
|
@ -19,7 +19,7 @@ main() {
|
|||
|
||||
cross rustc --bin bin --target $TARGET --release -- -C lto
|
||||
|
||||
strip target/$TARGET/release/bin
|
||||
[ "$TARGET" == "arm-unknown-linux-gnueabi" ] || [ "$TARGET" == "x86_64-pc-windows-gnu" ] || strip target/$TARGET/release/bin
|
||||
cp target/$TARGET/release/bin $stage/
|
||||
|
||||
cd $stage
|
||||
|
|
Loading…
Reference in New Issue