Last active
September 27, 2021 15:53
-
-
Save apoorvpandey0/933d08d797112dbae47c893251881fa8 to your computer and use it in GitHub Desktop.
Automatically cleans your flutter projects and saves you GIGABYTES of space on keeping multiple flutter projects in a folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TODO: | |
# 1. Implement wait time for flutter clean to complete for a given folder and then move to next | |
# 2. Ignore other files like .zip etc which may be in the folder | |
import os | |
for i in os.listdir(): | |
os.chdir(i) | |
os.system('flutter clean') | |
print('Cleaned ',i) | |
os.chdir('../') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment