remove previous patched deps

This commit is contained in:
Nabil Hachicha 2016-01-22 23:50:40 +00:00
parent d77a617fc9
commit ec5e5a5991
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ elif [ "$TARGET" = "react-example" ]; then
popd popd
elif [ "$TARGET" = "react-tests-android" ]; then elif [ "$TARGET" = "react-tests-android" ]; then
# Copy patched version of FB # Copy patched version of FB
rm -Rf ~/.m2/repository/com/facebook/react/react-native/
mkdir -p ~/.m2/repository/com/facebook/react/react-native/ mkdir -p ~/.m2/repository/com/facebook/react/react-native/
tar xvf ./patched_bin/0.18.0-patched.tar.gz -C ~/.m2/repository/com/facebook/react/react-native/ tar xvf ./patched_bin/0.18.0-patched.tar.gz -C ~/.m2/repository/com/facebook/react/react-native/
# update sdk tool # update sdk tool