mattermost-mobile/scripts/clean.sh
Rahim Rahman 881342cb5f
chore: error on react-hooks/exhaustive-deps during pre-commit (#9105)
* chore: exhaustive-deps error
* faster precommit using tsc --incremental
* don't exit until both check has ran
2025-09-05 06:08:01 -06:00

20 lines
No EOL
500 B
Bash
Executable file

#!/usr/bin/env bash
echo Cleaning started
# Reset watchman watches for this project only
if command -v watchman &> /dev/null; then
echo "Resetting watchman watches for this project"
watchman watch-del . 2>/dev/null || echo "No watch found for this directory"
fi
rm -rf .tsbuildinfo.precommit
rm -rf ios/Pods
rm -rf node_modules
rm -rf dist
rm -rf ios/build
rm -rf android/app/build
rm assets/fonts/compass-icons.ttf
rm android/app/src/main/assets/fonts/compass-icons.ttf
echo Cleanup finished