ulfben

Android Studio project folder cleanup

Feb 5th, 2017
963
0
Never
2
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.18 KB | None | 0 0
  1. @rem  ##########################################################################
  2. @rem
  3. @rem  Clean Android Studio project folders for distribution
  4. @rem
  5. @rem  ##########################################################################
  6.  
  7. echo off
  8. CLS
  9. echo _________________________________________
  10. echo Android Studio project folder export
  11. echo _________________________________________
  12. echo
  13. echo If directory name includes space
  14. echo - surround name with quotes
  15. echo _________________________________________
  16. set /p dirname= Dir name to export :
  17. if %dirname% == "" goto ERROR
  18. set str=%dirname%
  19. mkdir c:\EXPORT\%str%
  20. pause
  21. xcopy %dirname% c:\EXPORT\%str% /s
  22. del c:\EXPORT\%str%\*.iml
  23. del c:\EXPORT\%str%\app\*.apk
  24. rmdir c:\EXPORT\%str%\.gradle /s /q
  25. rmdir c:\EXPORT\%str%\.idea /s /q
  26. rmdir c:\EXPORT\%str%\build /s /q
  27. erase c:\EXPORT\%str%\app\build /f /s /q
  28. rmdir c:\EXPORT\%str%\app\build /s /q
  29. pause
  30. goto END
  31. :ERROR
  32. echo Cannot create, check the directory root
  33. goto OUT
  34. :END
  35. CLS
  36. echo _________________________________________
  37. echo  Android Studio project folder export
  38. echo _________________________________________
  39. echo Export ended, check c:\EXPORT
  40. :OUT
  41. pause
Advertisement
Comments
  • Gyqizv
    193 days
    # text 0.21 KB | 0 0
    1. Best t33n active cpx link daily updates!
    2.  
    3. Copy and paste the link in a new browser tab and then hit enter!
    4.  
    5. https://crazyporn.@xxx/members/157354/?asgtbndr=1&play=true&spon=adworld&zone=400
    6.  
    7. Remove the @
  • Comment was deleted
Add Comment
Please, Sign In to add comment