Build the right cargo lib based on the target

This commit is contained in:
Floris Bruynooghe
2019-06-10 23:05:22 +02:00
parent 4d8914cb3c
commit 4ccd39b769

View File

@@ -10,11 +10,15 @@
#
# ./run-integration-tests.sh -e py35 -- -x
cargo build -p deltachat_ffi
export DCC_RS_DEV=$(pwd)
export DCC_RS_TARGET=${DCC_RS_TARGET:-release}
if [ $DCC_RS_TARGET = 'release' ]; then
cargo build -p deltachat_ffi --release
else
cargo build -p deltachat_ffi
fi
pushd python
toxargs="$@"
if [ -e liveconfig ]; then