mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-09-16 07:44:34 -04:00
34 lines
872 B
Bash
Executable File
34 lines
872 B
Bash
Executable File
echo "iOS simulator cache"
|
|
rm -rf ~/Library/Developer/CoreSimulator/Caches
|
|
|
|
echo "React-native cache"
|
|
rm -rf $TMPDIR/react-*
|
|
|
|
echo "Metro bundler cache"
|
|
rm -rf $TMPDIR/metro-*
|
|
|
|
echo "Watchman cache"
|
|
watchman watch-del-all
|
|
|
|
echo "iOS build folder"
|
|
rm -rf ios/build
|
|
|
|
echo "system iOS pods cache"
|
|
(cd ios && pod cache clean --all)
|
|
|
|
# Alternatively this might be enough instead of the next three
|
|
# rm -rf node_modules/react-native-sensitive-info/android/.cxx
|
|
# rm -rf node_modules/react-native-sensitive-info/android/build
|
|
# rm -rf node_modules/react-native-vision-camera/android/.cxx
|
|
# rm -rf node_modules/react-native-vision-camera/android/build
|
|
# then the same Android build you just ran
|
|
|
|
echo "Android build folder"
|
|
rm -rf android/build
|
|
|
|
echo "Android gradle folder"
|
|
rm -rf android/.gradle
|
|
|
|
echo "Android clean project"
|
|
(cd android && ./gradlew --stop && ./gradlew clean)
|