Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions ekUiGen/EmptyKeys.UserInterface.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!--
EmptyKeys UI Generator Targets file
-->

<Project>
<PropertyGroup>
<EmptyKeysDir Condition=" '$(EmptyKeysDir)' == '' ">$(ProjectDir)UI\Views</EmptyKeysDir>
</PropertyGroup>

<Target Name="BeforeCompile">
<Error Condition=" '$(EmptyKeysDir)' == '' "
Text="Empty Keys directory not set!"
File="$(MSBuildProjectFile)"/>

<MakeDir Directories="$(EmptyKeysDir)"/>
<!-- Execution requires explicit version, as wildcard reference fails in Windows shell -->
<Exec Command="&quot;$(SolutionDir)packages\EmptyKeysUI_Generator.1.10.0.0\tools\ekuigen&quot; -i=&quot;$(EmptyKeysDir)&quot; -o=&quot;$(EmptyKeysDir)&quot;"/>
</Target>
</Project>
Binary file added ekUiGen/New EmptyKeys UI.zip
Binary file not shown.
6 changes: 6 additions & 0 deletions ekUiGen/ekUiGen.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="EmptyKeys.UserInterface.targets">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="New EmptyKeys UI.zip">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="packages.config" />
<Content Include="SpriteFontTemplate.pdxfnt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand Down