mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
* Attempt to fix Python on Travis being too old. * Fix RUN_THIS.py too. * Fix CI builds blocking. * Fix BuildChecker.csproj Python versioning in Travis.
37 lines
1.5 KiB
XML
37 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
This is a dummy .csproj file to check things like submodules.
|
|
Better this than other errors.
|
|
|
|
If you want to create this kind of file yourself, you have to create an empty .NET application,
|
|
Then strip it of everything until you have the <Project> tags.
|
|
VS refuses to load the project if you make a bare project file and use Add -> Existing Project... for some reason.
|
|
|
|
You want to handle the Build, Clean and Rebuild tasks to prevent missing task errors on build.
|
|
|
|
If you want to learn more about these kinds of things, check out Microsoft's official documentation about MSBuild:
|
|
https://docs.microsoft.com/en-us/visualstudio/msbuild/msbuild
|
|
-->
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Choose>
|
|
<When Condition="'$(Python)' == ''">
|
|
<PropertyGroup>
|
|
<Python>python3</Python>
|
|
<Python Condition="'$(OS)'=='Windows_NT' Or '$(OS)'=='Windows'">py -3</Python>
|
|
</PropertyGroup>
|
|
</When>
|
|
</Choose>
|
|
<PropertyGroup>
|
|
<ProjectGuid>{D0DA124B-5580-4345-A02B-9F051F78915F}</ProjectGuid>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
|
</PropertyGroup>
|
|
<Target Name="Build">
|
|
<Exec Command="$(Python) git_helper.py" CustomErrorRegularExpression="^Error" />
|
|
</Target>
|
|
<Target Name="Rebuild" DependsOnTargets="Build" />
|
|
<Target Name="Clean">
|
|
<Message Importance="low" Text="Ignoring 'Clean' target." />
|
|
</Target>
|
|
</Project>
|