Skip to content

Added attributes to supress build and target banners.#887

Closed
sharpninja wants to merge 2 commits intonuke-build:developfrom
sharpninja:develop
Closed

Added attributes to supress build and target banners.#887
sharpninja wants to merge 2 commits intonuke-build:developfrom
sharpninja:develop

Conversation

@sharpninja
Copy link

  1. NoTargetBannerAttribute - Attribute that is placed on a target declaration that suppresses the banner box only for that target.

  2. NoBuildBannerAttribute - Attribute to be placed either on the Build class (which must be descended from NukeBuild) or placed on the assembly. Its presence suppresses all stage output except what is written to Serilog. It also does not affect the banners for Targets.

I confirm that the pull-request:

  • Follows the contribution guidelines
  • Is based on my own work
  • Is in compliance with my employer

@bitbonk
Copy link
Contributor

bitbonk commented Mar 14, 2022

Nice idea. Shouldn't this also be documented somewhere? How would a user discover the existence of these attributes?

@sharpninja
Copy link
Author

sharpninja commented Mar 14, 2022 via email

@matkoch
Copy link
Member

matkoch commented Apr 21, 2022

Sorry, but at the moment this is not something I'm interested in.

@matkoch matkoch closed this Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants