Interface ILint
A build which lints code.
Inherited Members
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 SourceEnableGitVersioningLintWorkaround
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
Lint
Gets the target to lint.
Declaration
Target Lint { get; }
Property Value
Type | Description |
---|---|
Target |
LintFix
Gets the target to lint and fix.
Declaration
Target LintFix { get; }
Property Value
Type | Description |
---|---|
Target |
Methods
View SourceReportLintFailureInCI(int)
Reports a lint failure to the CI build.
Declaration
void ReportLintFailureInCI(int exitCode)
Parameters
Type | Name | Description |
---|---|---|
int | exitCode | The failure code. |
RunLint()
Lints code.
Declaration
int RunLint()
Returns
Type | Description |
---|---|
int | Zero, if no lint issues were detected. |
RunLintFix()
Lints code and applies fixes.
Declaration
void RunLintFix()