mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-04 00:08:09 -07:00
dev-dotnet/nake: use eclass for NuGet.config manipulation
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -277,15 +277,5 @@ src_prepare() {
|
||||
)
|
||||
rm "${bad_tests[@]}" || die
|
||||
|
||||
cat << EOF > NuGet.Config || die
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<clear />
|
||||
<add key="nuget" value="${NUGET_PACKAGES}" />
|
||||
</packageSources>
|
||||
</configuration>
|
||||
EOF
|
||||
|
||||
dotnet-pkg_src_prepare
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user