explicitly declare target for linux build
This commit is contained in:
parent
f815e3d62e
commit
0b162de00f
|
@ -5,8 +5,8 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [ "$1" == "-b" ]; then
|
if [ "$1" == "-b" ]; then
|
||||||
cargo build --release
|
cargo build --release --target=x86_64-unknown-linux-gnu
|
||||||
cargo build --target=x86_64-pc-windows-gnu --release
|
cargo build --release --target=x86_64-pc-windows-gnu
|
||||||
fi
|
fi
|
||||||
|
|
||||||
VERSION="$(sed -nr 's/^\s*version\s*=\s*"(.*)"\s*$/\1/p' Cargo.toml)"
|
VERSION="$(sed -nr 's/^\s*version\s*=\s*"(.*)"\s*$/\1/p' Cargo.toml)"
|
||||||
|
|
Loading…
Reference in a new issue