2018-07-14 00:42:15 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2018-08-20 21:52:25 -04:00
|
|
|
[ -d ".pioenvs" ] && rm -r .pioenvs
|
|
|
|
[ -d ".piolibdeps" ] && rm -r .piolibdeps
|
|
|
|
[ -d ".piolib" ] && rm -r .piolib
|
2018-07-14 00:42:15 -04:00
|
|
|
|
|
|
|
if [ ! -z "$1" ]; then
|
|
|
|
if [ $1 = "--deep" ]; then
|
2018-08-20 21:52:25 -04:00
|
|
|
[ -d "~/.platformio/packages" ] && rm -r ~/.platformio/packages/*
|
|
|
|
[ -d "~/.platformio/platforms" ] && rm -r ~/.platformio/platforms/*
|
|
|
|
[ -d "~/.platformio/.cache" ] && rm -r ~/.platformio/.cache/*
|
2018-07-14 00:42:15 -04:00
|
|
|
fi
|
|
|
|
fi
|