mirror of
https://github.com/Ellpeck/Contentless.git
synced 2024-05-19 00:11:22 +02:00
12 lines
828 B
XML
12 lines
828 B
XML
<Project>
|
|
<Target Name="Contentless" BeforeTargets="BeforeBuild">
|
|
<PropertyGroup Condition="'$(OS)' != 'Windows_NT'">
|
|
// We use mono to run Contentless when we're not on Windows. This isn't pretty, but it'll do until we switch to the new task system.
|
|
<Mono Condition="Exists('/Library/Frameworks/Mono.framework/Versions/Current/bin/mono')">/Library/Frameworks/Mono.framework/Versions/Current/bin/mono</Mono>
|
|
<Mono Condition="Exists('/usr/local/bin/mono')">/usr/local/bin/mono</Mono>
|
|
<Mono Condition="Exists('/usr/bin/mono')">/usr/bin/mono</Mono>
|
|
<Mono Condition="'$(Mono)' == ''">mono</Mono>
|
|
</PropertyGroup>
|
|
<Exec Command="$(Mono) $(MSBuildThisFileDirectory)/../tools/Contentless.exe @(MonoGameContentReference)"/>
|
|
</Target>
|
|
</Project> |