Skip to content

Commit

Permalink
build: fix dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alirezanet committed Jan 18, 2025
1 parent d0142b3 commit ea59ee7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
10 changes: 6 additions & 4 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@
"isRoot": true,
"tools": {
"husky": {
"version": "0.7.0",
"version": "0.7.2",
"commands": [
"husky"
]
],
"rollForward": false
},
"dotnet-format": {
"version": "5.1.250801",
"commands": [
"dotnet-format"
]
],
"rollForward": false
}
}
}
}
19 changes: 15 additions & 4 deletions src/Husky/Husky.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
<PackageReadmeFile>README.md</PackageReadmeFile>
<Configurations>Debug;Release;IntegrationTest</Configurations>
<Platforms>AnyCPU</Platforms>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
</PropertyGroup>

<ItemGroup>
<EmbeddedResource Include="templates\husky.sh" />
<EmbeddedResource Include="templates\task-runner.json" />
Expand All @@ -40,16 +42,25 @@
<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0' Or '$(TargetFramework)' == 'net7.0'">
<ConfigurationVersion>8.0.0</ConfigurationVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0' Or '$(TargetFramework)' == 'net9.0'">
<ConfigurationVersion>9.0.0</ConfigurationVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CliFx" Version="2.3.5" />
<PackageReference Include="CliWrap" Version="3.6.7" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.12.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="$(ConfigurationVersion)" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="$(ConfigurationVersion)" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="$(ConfigurationVersion)" />
<PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" Version="$(ConfigurationVersion)" />
<PackageReference Include="System.IO.Abstractions" Version="21.1.7" />
</ItemGroup>

<ItemGroup>
<Compile Remove="Utils\Dotnet\ParallelRangeManager.cs" />
<Compile Remove="Utils\Dotnet\ParallelLoopState.cs" />
Expand Down

0 comments on commit ea59ee7

Please sign in to comment.