marlin2_i2/buildroot/bin/env_clean

12 lines
205 B
Text
Raw Permalink Normal View History

#!/usr/bin/env bash
rm -rf .pioenvs
rm -rf .piolibdeps
rm -rf .piolib
if [[ $1 = "--deep" ]]; then
rm -rf ~/.platformio/packages/*
rm -rf ~/.platformio/platforms/*
rm -rf ~/.platformio/.cache/*
fi