Add a stamp option to pw_python_script

GN requires all actions to have at least one output file. However, many
Python scripts are run to process data without generating a file. Such
scripts would previously have to specify a dummy output file and touch
it on completion.

This change adds this stamp functionality to the script-runner script.
The pw_python_script template accepts a boolean "stamp" argument. If
set, the runner will touch a dummy file after it runs its sub-command.

Change-Id: Iff0408ea0d93007418a1766f1eb7ed7b30ec6913
5 files changed
tree: c48a1c81eb1486dfa099a0d36b612a7f374dadd0
  1. pw_build/
  2. pw_preprocessor/
  3. pw_span/
  4. pw_status/
  5. pw_toolchain/
  6. pw_unit_test/
  7. .clang-format
  8. .gitignore
  9. .gn
  10. AUTHORS
  11. BUILD.gn
  12. BUILDCONFIG.gn
  13. CONTRIBUTING.md
  14. LICENSE
  15. modules.gni
  16. README.md
README.md

Pigweed embedded oriented software libraries

Pigweed is a collection of embedded-focused libraries, which we call "modules". These modules are designed for small-footprint MMU-less microcontrollers like the ST Micro STM32L452 or the Nordic NRF82832. The modules are designed to facilitate easy integration into existing codebases.

Pigweed is in the early stages of development.