-
Notifications
You must be signed in to change notification settings - Fork 17
/
build.proj
24 lines (16 loc) · 779 Bytes
/
build.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
<Project>
<Import Project="Directory.Build.props" />
<PropertyGroup>
<Cfg>--configuration Release</Cfg>
<PrOption Condition =" '$(BUILD_PR)' != '%24(SYSTEM.PULLREQUEST.PULLREQUESTNUMBER)' ">/p:BUILD_PR=$(BUILD_PR) </PrOption>
<PackOptions>/p:BUILD_ID=$(BUILD_ID) $(PrOption) -o $(MSBuildThisFileDirectory)bin</PackOptions>
<TestOptions>--logger:trx -- RunConfiguration.TestSessionTimeout=3300000 xunit.diagnosticMessages=true</TestOptions>
</PropertyGroup>
<Target Name="Pack">
<Exec Command="dotnet pack src/FsKafka $(Cfg) $(PackOptions)" />
</Target>
<Target Name="VSTest">
<Exec Command="dotnet test tests/FsKafka.Integration $(Cfg) $(TestOptions)" />
</Target>
<Target Name="Build" DependsOnTargets="Pack;VSTest" />
</Project>