-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_watch: Generic watcher and bazel integration
- Introduce //pw_watch/py:run, a generic file watcher. It watches files and runs commands when they change. The commands may share a common prefix (e.g. bazelisk) to reduce typing. For now, this tool uses pw_presubmit's console UI elements. - Introduce //pw_watch/py:bazel, which runs one or more bazelisk commands when files change. Arguments are forwarded directly to bazel/ bazelisk, so all subcommands and options are available. This tool is a simple entrypoint to the generic //pw_watch/py:run tool. - Make a few pw_presubmit.presubmit UI-related functions public. Fixes: b/375421339 Change-Id: I3d2e73b65378a65e94b79a3b5b2dc59db96d5e6e Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/258775 Pigweed-Auto-Submit: Wyatt Hepler <[email protected]> Lint: Lint 🤖 <[email protected]> Reviewed-by: Anthony DiGirolamo <[email protected]> Commit-Queue: Wyatt Hepler <[email protected]>
- Loading branch information
Showing
6 changed files
with
409 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.