Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolayPianikov committed Oct 31, 2024
1 parent eac1aa4 commit 46cd82e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Build/Build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="CSharpInteractive" Version="1.1.1" />
<PackageReference Include="CSharpInteractive" Version="1.1.2" />
</ItemGroup>
</Project>
18 changes: 7 additions & 11 deletions Build/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
const string packageId = "Immutype";
Settings[] buildSettings =
[
new Settings("3.8", "3.8.0"),
new Settings("4.0", "4.0.1")
new("3.8", "3.8.0"),
new("4.0", "4.0.1")
];

var currentDir = Environment.CurrentDirectory;
Expand All @@ -33,23 +33,20 @@
new DotNetClean()
.WithConfiguration(configuration)
.WithProps(props)
.Build()
.EnsureSuccess();
.Build().EnsureSuccess();

new DotNetTest()
.WithConfiguration(configuration)
.WithProps(props)
.Build()
.EnsureSuccess();
.Build().EnsureSuccess();

var packagePath = Path.GetFullPath(Path.Combine(outputDir, $"roslyn{settings.AnalyzerRoslynVersion}"));
new DotNetPack()
.WithConfiguration(configuration)
.WithNoBuild(true)
.WithOutput(packagePath)
.WithProps(props)
.Build()
.EnsureSuccess();
.Build().EnsureSuccess();

var package = Path.Combine(packagePath, $"Immutype.{nuGetVersion}.nupkg");
packages.Add(package);
Expand All @@ -68,10 +65,9 @@
new DotNetNuGetPush()
.WithShortName($"Pushing {Path.GetFileName(mergedPackage)}")
.WithApiKey(apiKey)
.WithSources("https://api.nuget.org/v3/index.json")
.WithSource("https://api.nuget.org/v3/index.json")
.WithPackage(mergedPackage)
.Run()
.EnsureSuccess();
.Run().EnsureSuccess();
}

WriteLine($"Package version: {nuGetVersion}", Color.Highlighted);
Expand Down
2 changes: 1 addition & 1 deletion Immutype.Tests/Immutype.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<ItemGroup>
<ProjectReference Include="..\Immutype\Immutype.csproj" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="xunit" Version="2.9.0" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<CompilerVisibleProperty Include="ImmutypeAPI" />
<ProjectReference Include="..\Immutype\Immutype.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="xunit" Version="2.9.0" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
Expand Down
2 changes: 1 addition & 1 deletion Immutype/Immutype.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<!-- Should be compatible with .NET 5.0.102+ and Visual Studio 16.8+ -->
<!-- https://github.com/dotnet/roslyn/blob/main/docs/wiki/NuGet-packages.md#versioning -->
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.3.1" PrivateAssets="all" />
<PackageReference Include="Pure.DI" Version="2.1.35">
<PackageReference Include="Pure.DI" Version="2.1.36">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>analyzers</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit 46cd82e

Please sign in to comment.