-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify sample_runner by keeping commands simple functions.
Instead of a variant that keeps track of either an executable path or function, always have commands simply be functions. For calling exectubable, wrap that in a function. While at it, group the set of constants that point to the binaries in a struct for improved readability. Overall, no functional change, just readability improvements. PiperOrigin-RevId: 675752356
- Loading branch information
1 parent
712ad86
commit d7bcdb1
Showing
2 changed files
with
70 additions
and
64 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