pw_build: Project builder and watch refactor - New `pw build` command line tool to perform a single build then exit. - Move watch argparse to it's own file. - New BuildCommand and BuildRecipe dataclasses to store build info. Each BuildRecipe is tied to a build directory and may have one or more pre and post BuildCommands to run. If any given command fails that BuildRecipe is aborted. Change-Id: I51bdb6d1986c970e14b12618c69fe5c855ec43c3 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/116254 Reviewed-by: Wyatt Hepler <hepler@google.com> Commit-Queue: Anthony DiGirolamo <tonymd@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.