Skip to content

Commit

Permalink
Extra /
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabii committed Dec 11, 2023
1 parent 1943658 commit 5e7f3be
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/IKVM.Maven.Sdk.Tests/Project/Exe/ProjectExe.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<OutputType>Exe</OutputType>
<TargetFrameworks>net472;net48;net6.0;net7.0</TargetFrameworks>
<RuntimeIdentifiers>win-x64;win-x86;win-arm64;linux-x64;linux-arm;linux-arm64;linux-musl-x64;linux-musl-arm;linux-musl-arm64;osx-x64;osx-arm64</RuntimeIdentifiers>
<LocalRepoPath>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)\..\repository'))</LocalRepoPath>
<MavenAdditionalRepositories>local=file:///$(LocalRepoPath.Replace('\', '/'))</MavenAdditionalRepositories>
<LocalRepoPath>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)\..\repository\'))</LocalRepoPath>
<MavenAdditionalRepositories>local=file://$(LocalRepoPath.Replace('\', '/'))</MavenAdditionalRepositories>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/IKVM.Maven.Sdk.Tests/Project/Lib/ProjectLib.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net472;net48;net6.0;net7.0</TargetFrameworks>
<LocalRepoPath>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)\..\repository'))</LocalRepoPath>
<MavenAdditionalRepositories>local=file:///$(LocalRepoPath.Replace('\', '/'))</MavenAdditionalRepositories>
<LocalRepoPath>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)\..\repository\'))</LocalRepoPath>
<MavenAdditionalRepositories>local=file://$(LocalRepoPath.Replace('\', '/'))</MavenAdditionalRepositories>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/IKVM.Maven.Sdk.Tests/ProjectTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ public static void ClassCleanup()
public void CanBuildProject(EnvironmentPreference env, string tfm, string rid, string exe, string lib)
{
// skip framework tests for non-Windows platforms
if (env == EnvironmentPreference.Framework || tfm == "net472" || tfm == "net48")
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows) == false)
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows) == false)
if (env == EnvironmentPreference.Framework || tfm == "net472" || tfm == "net48")
return;

var manager = new AnalyzerManager();
Expand Down

0 comments on commit 5e7f3be

Please sign in to comment.