forked from Ivasoft/mattermost-mobile
* Add watchman watch-del-all to clean script This ensures watchman watches are reset during cleanup, preventing issues after upgrades. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Use watchman watch-del instead of watch-del-all Only reset watches for the current project directory instead of all watches. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
19 lines
470 B
Bash
Executable File
19 lines
470 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 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 |