This repository has been archived by the owner on Oct 13, 2020. It is now read-only.
forked from Pash-Project/Pash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Pash.proj
executable file
·58 lines (45 loc) · 2.22 KB
/
Pash.proj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--=====================================================================-->
<Target Name="Build">
<MSBuild Projects="Source\Pash.sln" />
<MsBuild Projects="WindowsPowershellReferenceTests\WindowsPowershellReferenceTests.csproj" Condition="'$(OS)' == 'Windows_NT'"/>
</Target>
<Target Name="Clean">
<MSBuild Projects="Source\Pash.sln" Targets="Clean" />
<MsBuild Projects="WindowsPowershellReferenceTests\WindowsPowershellReferenceTests.csproj" Condition="'$(OS)' == 'Windows_NT'"/>
</Target>
<Target Name="Rebuild">
<MSBuild Projects="Source\Pash.sln" Targets="Rebuild" />
<MsBuild Projects="WindowsPowershellReferenceTests\WindowsPowershellReferenceTests.csproj" Condition="'$(OS)' == 'Windows_NT'"/>
</Target>
<!--=====================================================================-->
<Target Name="AssertAddin">
<MSBuild Projects="Source\NUnitAssertHandlerAddin\NUnitAssertHandlerAddin.csproj" Targets="Build" />
</Target>
<Target Name="Test"
DependsOnTargets="Build;AssertAddin"
>
<!--
When this issue is resolved: https://github.com/Pash-Project/Pash/issues/29
Uncomment the next command & reenable the `Libraries.Tests.MonoTests.MonoOverloadBug6541Test`.
<Exec Command="Tools\NUnit-2.6.1\bin\nunit-console.exe -nologo Pash.nunit -run=Libraries.Tests" />
-->
<Exec Command="$(NUnitCommandLine) Pash.nunit"/>
</Target>
<Target Name="RefTest"
DependsOnTargets="Build"
>
<Exec Command="$(NUnitCommandLine) WindowsPowershellReferenceTests.nunit" Condition="'$(OS)' == 'Windows_NT'"/>
</Target>
<PropertyGroup>
<NUnitCommandLine>Tools\NUnit-2.6.1\bin\nunit-console.exe -nologo</NUnitCommandLine>
<NUnitCommandLine Condition="'$(OS)' != 'Windows_NT'">mono $(MonoCommandArgs) $(NUnitCommandLine)</NUnitCommandLine>
</PropertyGroup>
<PropertyGroup>
<PashConsoleCommandLine>Source\PashConsole\bin\Debug\Pash.exe</PashConsoleCommandLine>
</PropertyGroup>
<PropertyGroup>
<MonoCommandArgs>--debug --runtime=v4.0</MonoCommandArgs>
</PropertyGroup>
</Project>