Merge pull request #947 from keyboardio/fix/make-clean

"make clean" needs to clear out build and output paths
pull/953/head
Gergely Nagy 4 years ago committed by GitHub
commit 79589610ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -512,12 +512,16 @@ decompile () {
} }
clean () { clean () {
find_sketch
build_paths
rm -rf -- "${OUTPUT_PATH}" rm -rf -- "${OUTPUT_PATH}"
rm -rf -- "${BUILD_PATH}"
kaleidoscope_dir="$(dirname "$0")/.." kaleidoscope_dir="$(dirname "$0")/.."
(install -d "${kaleidoscope_dir}/testing/googletest/build" && if [ -d "${kaleidoscope_dir}/testing/googletest/build" ]; then
cd "${kaleidoscope_dir}/testing/googletest/build" && ( cd "${kaleidoscope_dir}/testing/googletest/build" &&
cmake .. && cmake .. &&
make clean) make clean)
fi
} }
reset_device() { reset_device() {

Loading…
Cancel
Save