Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress copyright messages when invoking dotnet build #2436

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/app/Fake.DotNet.Cli/DotNet.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1420,6 +1420,8 @@ module DotNet =
OutputPath: string option
/// Native flag (--native)
Native: bool
/// Don't show copyright messages. (--nologo)
NoLogo: bool
/// Doesn't execute an implicit restore during build. (--no-restore)
NoRestore: bool
/// Other msbuild specific parameters
Expand All @@ -1435,6 +1437,7 @@ module DotNet =
BuildBasePath = None
OutputPath = None
Native = false
NoLogo = false
NoRestore = false
MSBuildParams = MSBuild.CliArguments.Create()
}
Expand Down Expand Up @@ -1463,6 +1466,7 @@ module DotNet =
param.BuildBasePath |> Option.toList |> argList2 "build-base-path"
param.OutputPath |> Option.toList |> argList2 "output"
(if param.Native then [ "--native" ] else [])
(if param.NoLogo then [ "--nologo" ] else [])
param.NoRestore |> argOption "no-restore"
]
|> List.concat
Expand Down