diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-15 06:41:45 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-15 06:41:45 +0000 |
commit | 8e26aeaca2a19592a9eea3917f3139bfde8641f0 (patch) | |
tree | 3ddb856d2a1de70a5caf3b8f7737425b7f8b0796 /eclass | |
parent | 6e1fc32629c46e29012a7e22b07085307d65ac96 (diff) |
gentoo auto-resync : 15:01:2025 - 06:41:45
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/Manifest.gz | bin | 40182 -> 40180 bytes | |||
-rw-r--r-- | eclass/dotnet-pkg-base.eclass | 23 |
2 files changed, 22 insertions, 1 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz Binary files differindex da324f91c3ba..d794d5266f1d 100644 --- a/eclass/Manifest.gz +++ b/eclass/Manifest.gz diff --git a/eclass/dotnet-pkg-base.eclass b/eclass/dotnet-pkg-base.eclass index d9abff3859f6..b266c1b5dffc 100644 --- a/eclass/dotnet-pkg-base.eclass +++ b/eclass/dotnet-pkg-base.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: dotnet-pkg-base.eclass @@ -32,6 +32,23 @@ _DOTNET_PKG_BASE_ECLASS=1 inherit edo multiprocessing nuget +# @ECLASS_VARIABLE: DOTNET_VERBOSITY +# @USER_VARIABLE +# @DESCRIPTION: +# Controls verbosity of the dotnet restore/build/test processes. +# +# Defaults to "minimal" - this only reports which projects are being built +# and warnings/errors, if any. All the possible values are: "quiet", "minimal", +# "normal", "detailed" and "diagnostic". For more information on verbosity +# levels, see the official .NET SDK documentation on: +# * https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet +# * https://learn.microsoft.com/en-us/dotnet/api/microsoft.build.framework.loggerverbosity +# +# This variable can be used to debug package build process (by selecting +# anything above "minimal") but generally warnings/errors provide all +# the necessary info. +: "${DOTNET_VERBOSITY:=minimal}" + # @ECLASS_VARIABLE: DOTNET_PKG_COMPAT # @REQUIRED # @PRE_INHERIT @@ -385,6 +402,7 @@ dotnet-pkg-base_restore() { local -a restore_args=( --runtime "${DOTNET_PKG_RUNTIME}" --source "${NUGET_PACKAGES}" + --verbosity "${DOTNET_VERBOSITY}" -maxCpuCount:$(makeopts_jobs) "${@}" ) @@ -407,6 +425,7 @@ dotnet-pkg-base_restore-tools() { local -a tool_restore_args=( --add-source "${NUGET_PACKAGES}" + --verbosity "${DOTNET_VERBOSITY}" ) if [[ -n "${1}" ]] ; then @@ -447,6 +466,7 @@ dotnet-pkg-base_build() { --no-self-contained --output "${DOTNET_PKG_OUTPUT}" --runtime "${DOTNET_PKG_RUNTIME}" + --verbosity "${DOTNET_VERBOSITY}" -maxCpuCount:$(makeopts_jobs) ) @@ -482,6 +502,7 @@ dotnet-pkg-base_test() { local -a test_args=( --configuration "${DOTNET_PKG_CONFIGURATION}" --no-restore + --verbosity "${DOTNET_VERBOSITY}" -maxCpuCount:$(makeopts_jobs) "${@}" ) |