"make clean" needs to clear out build and output paths

It previously did not. Also, try -not- to clean out google test if the build dir doesn't even exist
pull/947/head
Jesse Vincent 4 years ago
parent 3a16fc95fb
commit 5c0edd9b69
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

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

Loading…
Cancel
Save