diff --git a/example-code/build.sh b/example-code/build.sh index 6c5698d9..329ce3b6 100755 --- a/example-code/build.sh +++ b/example-code/build.sh @@ -5,12 +5,15 @@ set -euo pipefail # Check the example code pushd ./native cargo build --all +cargo clean popd # And the C based example pushd native/ffi/use-rust-in-c make +make clean popd # And the nRF52 examples pushd ./nrf52/bsp_demo cargo build +cargo clean popd