Skip to content

Commit 7534d76

Browse files
committed
Do not deploy rust lib files
1 parent 77155ba commit 7534d76

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

travis/before_deploy.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ fi
1515

1616
$DIR/build_deploy_${TRAVIS_OS_NAME}.sh
1717

18+
libs=(librzero.so librzero.a librzero.dylib rzero.dll)
1819
target_dir="$DIR/../target"
1920
deploy_dir="$DIR/../deploy"
2021
mkdir -p $deploy_dir
@@ -33,6 +34,9 @@ for target_subdir in $target_dir/*/; do
3334
target_name="universal-apple-ios"
3435
fi
3536
mkdir -p $target_name
36-
cp -f $target_subdir/release/*rzero.* $target_name
37+
for lib in ${libs[@]}; do
38+
lib_file=$target_subdir/release/$lib
39+
[[ -e $lib_file ]] && cp -f $lib_file $target_name
40+
done
3741
zip -r $target_name.zip $target_name
3842
done

0 commit comments

Comments
 (0)