Skip to content

Commit

Permalink
store CKAN command file in obj for slight build speedup when switchin…
Browse files Browse the repository at this point in the history
…g configs
  • Loading branch information
drewcassidy committed Sep 21, 2024
1 parent 2619382 commit 798f999
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions KSPCommon.targets
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</ItemGroup>
<PropertyGroup>
<CKANDependencyList>@(_CKANDependency, ' ')</CKANDependencyList>
<CKANCommandFile>$(IntermediateOutputPath)CKANCommands</CKANCommandFile>
<CKANCommandFile>$(BaseIntermediateOutputPath)CKANCommands</CKANCommandFile>
</PropertyGroup>
<ItemGroup>
<!-- Not using `ckan compat set` because as of 2024-08-16 it is still only available in the dev branch -->
Expand All @@ -57,7 +57,7 @@
</Target>

<Target Name="CKANClean" AfterTargets="Clean">
<Delete Files="$(IntermediateOutputPath)CKANCommands"/>
<Delete Files="$(BaseIntermediateOutputPath)CKANCommands"/>
</Target>

<!-- For use like so: `msbuild -t:"GetRequiredExternalTools" -verbosity:minimal -nologo`, then pipe into your destination of choice -->
Expand Down

0 comments on commit 798f999

Please sign in to comment.