Show / Hide Table of Contents

Interface ILint

A build which lints code.

Inherited Members
IRestore.Restore
IRestore.RestoreSettingsBase
IRestore.RestoreSettings
IRestore.RunRestore()
INukeBuild.ReportSummary(Configure<Dictionary<string, string>>)
INukeBuild.TryGetValue<T>(Expression<Func<T>>)
INukeBuild.TryGetValue<T>(Expression<Func<object>>)
INukeBuild.ExecutionPlan
INukeBuild.InvokedTargets
INukeBuild.SkippedTargets
INukeBuild.ScheduledTargets
INukeBuild.RunningTargets
INukeBuild.AbortedTargets
INukeBuild.FailedTargets
INukeBuild.SucceededTargets
INukeBuild.FinishedTargets
INukeBuild.IsSucceeding
INukeBuild.IsFailing
INukeBuild.IsFinished
INukeBuild.ExitCode
INukeBuild.RootDirectory
INukeBuild.TemporaryDirectory
INukeBuild.BuildAssemblyFile
INukeBuild.BuildAssemblyDirectory
INukeBuild.BuildProjectDirectory
INukeBuild.BuildProjectFile
INukeBuild.Verbosity
INukeBuild.Host
INukeBuild.Plan
INukeBuild.Help
INukeBuild.NoLogo
INukeBuild.IsLocalBuild
INukeBuild.IsServerBuild
INukeBuild.Continue
INukeBuild.Partition
Namespace: Microsoft.XboxStudios.NukeExt
Assembly: NukeExt.Components.dll
Syntax
public interface ILint : IRestore, INukeBuild

Properties

View Source

EnableGitVersioningLintWorkaround

Gets a value indicating whether to enable the GitVersioning lint workaround.

Declaration
bool EnableGitVersioningLintWorkaround { get; }
Property Value
Type Description
bool
Remarks

Nerdbank.GitVersioning makes the command hang https://github.com/dotnet/Nerdbank.GitVersioning/issues/1119

View Source

Lint

Gets the target to lint.

Declaration
Target Lint { get; }
Property Value
Type Description
Target
View Source

LintFix

Gets the target to lint and fix.

Declaration
Target LintFix { get; }
Property Value
Type Description
Target

Methods

View Source

ReportLintFailureInCI(int)

Reports a lint failure to the CI build.

Declaration
void ReportLintFailureInCI(int exitCode)
Parameters
Type Name Description
int exitCode

The failure code.

View Source

RunLint()

Lints code.

Declaration
[SuppressMessage("Design", "CA1031:Do not catch general exception types")]
int RunLint()
Returns
Type Description
int

Zero, if no lint issues were detected.

View Source

RunLintFix()

Lints code and applies fixes.

Declaration
void RunLintFix()

Extension Methods

NukeBuildExtensions.IsInterceptorExecution(INukeBuild)
  • View Source
In this article
Back to top Generated by DocFX