mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 21:06:31 +03:00
Build the right cargo lib based on the target
This commit is contained in:
@@ -10,11 +10,15 @@
|
|||||||
#
|
#
|
||||||
# ./run-integration-tests.sh -e py35 -- -x
|
# ./run-integration-tests.sh -e py35 -- -x
|
||||||
|
|
||||||
cargo build -p deltachat_ffi
|
|
||||||
|
|
||||||
export DCC_RS_DEV=$(pwd)
|
export DCC_RS_DEV=$(pwd)
|
||||||
export DCC_RS_TARGET=${DCC_RS_TARGET:-release}
|
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
|
pushd python
|
||||||
toxargs="$@"
|
toxargs="$@"
|
||||||
if [ -e liveconfig ]; then
|
if [ -e liveconfig ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user