Skip to content

Commit

Permalink
Merge pull request #1923 from berryzplus/feature/recreate_githash_on_…
Browse files Browse the repository at this point in the history
…rebuild

リビルド時、githash.hが再生成されるように修正
  • Loading branch information
berryzplus committed Aug 11, 2023
2 parents 42b5fc4 + 66cfd37 commit efff593
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sakura/githash.targets
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,10 @@
<SetEnv name="NUM_VSVERSION" value="$(VsVersion)" prefix="false" />
<Exec Command="..\sakura\githash.bat ..\sakura_core $(GeneratedGitHash)" />
</Target>
<Target Name="CleanGitHash" BeforeTargets="CoreClean">
<!-- Add files to @Clean just before running CoreClean. -->
<ItemGroup>
<Clean Include="$(GeneratedGitHash)" />
</ItemGroup>
</Target>
</Project>

0 comments on commit efff593

Please sign in to comment.