My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

env_clean 496B

1234567891011121314151617181920212223242526272829
  1. #!/usr/bin/env bash
  2. if [ -d ".pioenvs" ]; then
  3. rm -r .pioenvs
  4. fi
  5. if [ -d ".piolibdeps" ]; then
  6. rm -r .piolibdeps
  7. fi
  8. if [ -d ".piolib" ]; then
  9. rm -r .piolib
  10. fi
  11. if [ ! -z "$1" ]; then
  12. if [ $1 = "--deep" ]; then
  13. if [ -d "~/.platformio/packages" ]; then
  14. rm -r ~/.platformio/packages/*
  15. fi
  16. if [ -d "~/.platformio/platforms" ]; then
  17. rm -r ~/.platformio/platforms/*
  18. fi
  19. if [ -d "~/.platformio/.cache" ]; then
  20. rm -r ~/.platformio/.cache/*
  21. fi
  22. fi
  23. fi