Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/hakchi2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-12-16 17:56:42 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-12-16 17:56:42 +0300
commitf939bd0194f05167ec83afbed4e957ea8fcbb0e6 (patch)
tree996a60c51a4fdb28a8c201b5c0631401d0473462 /hakchi_gui.csproj
parentc9e004eb3867c51663dc565404864d99cd682685 (diff)
Fixes
Diffstat (limited to 'hakchi_gui.csproj')
-rw-r--r--hakchi_gui.csproj17
1 files changed, 15 insertions, 2 deletions
diff --git a/hakchi_gui.csproj b/hakchi_gui.csproj
index 654c2db5..e818b3cd 100644
--- a/hakchi_gui.csproj
+++ b/hakchi_gui.csproj
@@ -2364,6 +2364,9 @@
<Content Include="mods\mod_hakchi\hakchi\rootfs\etc\preinit.d\p7020_usb">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
+ <Content Include="data\zImage">
+ <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+ </Content>
<None Include="Properties\app.manifest" />
<Content Include="user_mods\snes_custom_filters.hmod\canoe-custom-filters">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
@@ -2807,8 +2810,18 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
- <PreBuildEvent>
- </PreBuildEvent>
+ <PreBuildEvent>echo. &gt; NUL 2&gt; "$(ProjectDir)commit.txt"
+
+git --version &amp;&amp; (
+ for /f %25%25i in ('git rev-parse --short HEAD') do (
+ git diff-index --quiet HEAD -- &amp;&amp; (
+ echo|set /p="%25%25i" &gt;&gt; "$(ProjectDir)commit.txt"
+ SET ERRORLEVEL=0
+ ) || (
+ echo|set /p="%25%25i (dirty)" &gt;&gt; "$(ProjectDir)commit.txt"
+ )
+ )
+) || SET ERRORLEVEL=0</PreBuildEvent>
</PropertyGroup>
<PropertyGroup>
<PostBuildEvent>