mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 12:04:19 +00:00
14 lines
402 B
Bash
Executable File
14 lines
402 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
[ -d ".pioenvs" ] && rm -r .pioenvs
|
|
[ -d ".piolibdeps" ] && rm -r .piolibdeps
|
|
[ -d ".piolib" ] && rm -r .piolib
|
|
|
|
if [ ! -z "$1" ]; then
|
|
if [ $1 = "--deep" ]; then
|
|
[ -d "~/.platformio/packages" ] && rm -r ~/.platformio/packages/*
|
|
[ -d "~/.platformio/platforms" ] && rm -r ~/.platformio/platforms/*
|
|
[ -d "~/.platformio/.cache" ] && rm -r ~/.platformio/.cache/*
|
|
fi
|
|
fi
|