mirror of
https://github.com/Smaug123/unofficial-nunit-runner
synced 2025-10-05 09:28:40 +00:00
* Bump Nerdbank.GitVersioning from 3.8.38-alpha to 3.8.118 --- updated-dependencies: - dependency-name: Nerdbank.GitVersioning dependency-version: 3.8.118 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Deps * Try upgrading to net9 * Bump tests * Upgrade pipeline * Bump version --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Smaug123 <3138005+Smaug123@users.noreply.github.com>
24 lines
1.2 KiB
Bash
24 lines
1.2 KiB
Bash
use flake
|
|
DOTNET_PATH=$(readlink "$(which dotnet)")
|
|
SETTINGS_FILE=$(find . -maxdepth 1 -type f -name '*.sln.DotSettings.user')
|
|
MSBUILD=$(realpath "$(find "$(dirname "$DOTNET_PATH")/../share/dotnet/sdk" -maxdepth 2 -type f -name MSBuild.dll)")
|
|
if [ -f "$SETTINGS_FILE" ] ; then
|
|
xmlstarlet ed --inplace \
|
|
-N wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation" \
|
|
-N x="http://schemas.microsoft.com/winfx/2006/xaml" \
|
|
-N s="clr-namespace:System;assembly=mscorlib" \
|
|
-N ss="urn:shemas-jetbrains-com:settings-storage-xaml" \
|
|
--update "//s:String[@x:Key='/Default/Environment/Hierarchy/Build/BuildTool/DotNetCliExePath/@EntryValue']" \
|
|
--value "$(realpath "$(dirname "$DOTNET_PATH")/../share/dotnet/dotnet")" \
|
|
"$SETTINGS_FILE"
|
|
|
|
xmlstarlet ed --inplace \
|
|
-N wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation" \
|
|
-N x="http://schemas.microsoft.com/winfx/2006/xaml" \
|
|
-N s="clr-namespace:System;assembly=mscorlib" \
|
|
-N ss="urn:shemas-jetbrains-com:settings-storage-xaml" \
|
|
--update "//s:String[@x:Key='/Default/Environment/Hierarchy/Build/BuildTool/CustomBuildToolPath/@EntryValue']" \
|
|
--value "$MSBUILD" \
|
|
"$SETTINGS_FILE"
|
|
fi
|