Skip to content

grog taint

grog taint

Taints targets by pattern to force execution regardless of cache status.

Synopsis

Marks specified targets as “tainted”, which forces them to be rebuilt on the next build command, regardless of whether they would normally be considered up-to-date according to the cache. This is useful when you want to force a rebuild of specific targets.

grog taint [flags]

Examples

grog taint //path/to/package:target # Taint a specific target
grog taint //path/to/package/... # Taint all targets in a package and subpackages
grog taint //path/to/package:* # Taint all targets in a package

Options

-h, --help help for taint

Options inherited from parent commands

-a, --all-platforms Select all platforms (bypasses platform selectors)
--color string Set color output (yes, no, or auto) (default "auto")
--debug Enable debug logging
--enable-cache Enable cache (default true)
--exclude-tag strings Exclude targets by tag. Can be used multiple times. Example: --exclude-tag=foo --exclude-tag=bar
--fail-fast Fail fast on first error
--load-outputs string Level of output loading for cached targets. One of: all, minimal. (default "all")
--profile string Select a configuration profile to use
--stream-logs Forward all target build/test logs to stdout/-err
--tag strings Filter targets by tag. Can be used multiple times. Example: --tag=foo --tag=bar
-v, --verbose count Set verbosity level (-v, -vv)

SEE ALSO

Auto generated by spf13/cobra on 25-Jun-2025