env_clean 217 B

123456789101112
  1. #!/usr/bin/env bash
  2. rm -rf .pioenvs
  3. rm -rf .piolibdeps
  4. rm -rf .piolib
  5. rm -rf .pio
  6. if [[ $1 = "--deep" ]]; then
  7. rm -rf ~/.platformio/packages/*
  8. rm -rf ~/.platformio/platforms/*
  9. rm -rf ~/.platformio/.cache/*
  10. fi