golioth / docs

Creative Commons Attribution Share Alike 4.0 International
6 stars 11 forks source link

`west` instructions should use "-p" for pristine builds #36

Closed beriberikix closed 2 years ago

beriberikix commented 3 years ago

Users run into errors if they don't do clean pristine builds. All examples should include -p. Currently instructs west build -b esp32 samples/hello and it should be west build -b esp32 samples/hello -p @ https://docs.golioth.io/docs/guides/esp32-quickstart/esp32-flash-sample#building-hello. I didn't look for all references but there are a few more in the guides and possible Reference > Zephyr SDK > Samples too.

szczys commented 2 years ago

Dropping this here for my own reference:

grep -Rn "west build" * | grep -v '\-p'