-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfreeman.bat
44 lines (40 loc) · 1.04 KB
/
freeman.bat
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
38
39
40
41
42
43
44
@echo off
echo $ ~ OH! HELLO FREEMAN. LET'S GO...
echo.
echo $ ~ FREEMAN DOING WHAT NEEDS TO BE DONE
echo.
echo y | flutter clean
echo $ ~ 1/3
echo.
echo y | flutter pub cache repair
echo.
echo $ ~ 2/3
echo.
echo y | flutter pub cache clean
echo $ ~ 3/3
echo.
echo $ ~ FREEMAN DOING THE SPECIFIC CLEANUP!
rmdir /S /Q build/ 2>nul
rmdir /S /Q .dart_tool/ 2>nul
rmdir /S /Q .gradle/ 2>nul
rmdir /S /Q .idea/ 2>nul
rmdir /S /Q .packages 2>nul
rmdir /S /Q ios/Pods 2>nul
rmdir /S /Q ios/.symlinks 2>nul
rmdir /S /Q ios/Flutter/Flutter.framework 2>nul
rmdir /S /Q ios/Flutter/Flutter.podspec 2>nul
rmdir /S /Q ios/Flutter/App.framework 2>nul
rmdir /S /Q android/.gradle 2>nul
rmdir /S /Q android/.idea 2>nul
rmdir /S /Q android/.gradle/caches/ 2>nul
rmdir /S /Q android/.gradle/daemon/ 2>nul
rmdir /S /Q android/.gradle/native/ 2>nul
rmdir /S /Q android/.gradle/7.0/ 2>nul
rmdir /S /Q android/build/ 2>nul
del /F /Q pubspec.lock 2>nul
echo $ ~ FREEMAN RELOADING DEPENDENCIES
echo.
echo y | flutter pub get
echo.
echo.
echo $ ~ FREEMAN WAS HERE! HAVE A GREAT DAY!