mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
dotnet-utils.eclass: use array for src_compile args
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -167,7 +167,7 @@ dotnet-utils_src_unpack() {
|
|||||||
dotnet-utils_src_prepare() {
|
dotnet-utils_src_prepare() {
|
||||||
debug-print-function ${FUNCNAME} "${@}"
|
debug-print-function ${FUNCNAME} "${@}"
|
||||||
|
|
||||||
edotnet restore --source "${DISTDIR}" || die "Restore failed"
|
edotnet restore --source "${DISTDIR}" || die "'dotnet restore' failed"
|
||||||
default_src_prepare
|
default_src_prepare
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -177,12 +177,15 @@ dotnet-utils_src_prepare() {
|
|||||||
dotnet-utils_src_compile() {
|
dotnet-utils_src_compile() {
|
||||||
debug-print-function ${FUNCNAME} "${@}"
|
debug-print-function ${FUNCNAME} "${@}"
|
||||||
|
|
||||||
edotnet publish \
|
local publist_args=(
|
||||||
--no-restore \
|
--no-restore
|
||||||
--configuration Release \
|
--configuration Release
|
||||||
"-p:Version=${PV}" \
|
-p:Version=${PV}
|
||||||
-p:DebugType=embedded \
|
-p:DebugType=embedded
|
||||||
--self-contained || die
|
--self-contained
|
||||||
|
)
|
||||||
|
|
||||||
|
edotnet publish "${publish_args}" || die "'dotnet publish' failed"
|
||||||
}
|
}
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user