2019-10-11 23:14:28 +03:00
|
|
|
// scripts/Clear.sh
|
|
|
|
#!/bin/bash
|
2019-10-11 15:44:17 +03:00
|
|
|
|
2019-10-11 23:14:28 +03:00
|
|
|
echo "rm -rf ios/build..."
|
|
|
|
rm -rf ios/build
|
2019-10-11 15:44:17 +03:00
|
|
|
|
2019-10-11 23:14:28 +03:00
|
|
|
echo "rm -rf android/app/build..."
|
|
|
|
rm -rf android/app/build
|
2019-10-11 15:44:17 +03:00
|
|
|
|
2019-10-11 23:14:28 +03:00
|
|
|
echo "Removed all Xcode derived data..."
|
|
|
|
rm -rf ~/Library/Developer/Xcode/DerivedData
|
2019-10-11 15:44:17 +03:00
|
|
|
|
2019-10-11 23:14:28 +03:00
|
|
|
echo "rm -rf lib... (for Flow)"
|
|
|
|
rm -rf lib
|
2019-10-11 15:44:17 +03:00
|
|
|
|
2019-10-11 23:14:28 +03:00
|
|
|
echo "watchman watch-del-all..."
|
|
|
|
watchman watch-del-all
|
|
|
|
|
|
|
|
echo "rm -rf $TMPDIR/react-*..."
|
|
|
|
rm -rf $TMPDIR/react-*
|
|
|
|
|
|
|
|
echo "rm -rf $TMPDIR/haste-map-react-native-packager-*..."
|
|
|
|
rm -rf $TMPDIR/haste-map-react-native-packager-*
|