-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcleanup_old_files.sh
More file actions
37 lines (31 loc) Β· 980 Bytes
/
cleanup_old_files.sh
File metadata and controls
37 lines (31 loc) Β· 980 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
# Clean up old files after refactoring
echo "π§Ή Cleaning up old files after refactoring..."
# Remove old feature-based structure
echo "Removing old features/ directory..."
rm -rf lib/features/
# Remove old core/ directory
echo "Removing old core/ directory..."
rm -rf lib/core/
# Remove old GetX files
echo "Removing old GetX implementation files..."
rm -f lib/main_getx.dart
# Optional: Remove Bloc dependencies from pubspec.yaml
echo "β οΈ Remember to remove flutter_bloc from pubspec.yaml dependencies"
echo "β
Cleanup completed!"
echo ""
echo "π New structure:"
echo "lib/"
echo "βββ bindings/"
echo "βββ controllers/"
echo "βββ middlewares/"
echo "βββ models/"
echo "βββ pages/"
echo "β βββ home/"
echo "β βββ login/"
echo "β βββ register/"
echo "βββ routes/"
echo "βββ services/"
echo "βββ themes/"
echo ""
echo "π Run with: flutter run lib/main_refactored.dart"