Scale back autorestore of dotnet tools to only be in `BizHawk.Common`
fixes f58b4640c
and to be fair this was the one place actually using a tool during the
build process, so it makes sense to keep them together I guess
This commit is contained in:
parent
f58b4640c5
commit
cbf0728d4e
|
@ -52,9 +52,4 @@
|
|||
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets="all" />
|
||||
<PackageReference Include="System.Resources.Extensions" PrivateAssets="all" />
|
||||
</ItemGroup>
|
||||
<Target Name="RestoreTools" BeforeTargets="PreBuildEvent">
|
||||
<!-- why is this not the default behaviour -->
|
||||
<Exec Command="dotnet tool restore"
|
||||
StandardOutputImportance="low" /> <!-- this parameter has almost no documentation, hooray -->
|
||||
</Target>
|
||||
</Project>
|
||||
|
|
|
@ -16,6 +16,11 @@
|
|||
<ItemGroup>
|
||||
<Analyzer Include="$(MSBuildProjectDirectory)/../../References/BizHawk.SrcGen.VersionInfo.dll" />
|
||||
</ItemGroup>
|
||||
<Target Name="RestoreTools" BeforeTargets="PreBuildEvent">
|
||||
<!-- why is this not the default behaviour -->
|
||||
<Exec Command="dotnet tool restore"
|
||||
StandardOutputImportance="low" /> <!-- this parameter has almost no documentation, hooray -->
|
||||
</Target>
|
||||
<Target Name="InstallGitHooks" AfterTargets="PreBuildEvent">
|
||||
<Exec Command="dotnet pwsh $(MSBuildProjectDirectory)/../../Dist/install_git_hooks.ps1" />
|
||||
</Target>
|
||||
|
|
Loading…
Reference in New Issue