forked from jediwhale/fitsharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.proj
47 lines (36 loc) · 1.66 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
DefaultTargets="solution;unittests;storytests" >
<Import Project="binary\tools\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets"/>
<PropertyGroup>
<Config>Debug</Config>
</PropertyGroup>
<Target Name="all" DependsOnTargets="solution;unittests;storytests;dbfittests" />
<Target Name="deploy" DependsOnTargets="releasesolution;zip" />
<Target Name="solution">
<MSBuild Projects="fitsharp.sln"
Properties="Configuration=$(Config)" />
</Target>
<Target Name="unittests">
<Exec Command="binary\tools\nunit\nunit-console -nologo -framework:net-4.0 .\build\$(Config)\fitSharpTest.dll" />
<Exec Command="binary\tools\nunit\nunit-console -nologo -framework:net-4.0 .\build\$(Config)\fitTest.dll" />
</Target>
<Target Name="storytests">
<Exec Command=".\build\debug\runner -c storytest.config.xml" />
</Target>
<Target Name="dbfittests">
<Exec Command="binary\tools\nunit\nunit-console -nologo .\build\$(Config)\dbfitTest.dll" />
<Exec Command="java -jar \apps\fitnesse\fitnesse.jar -o -d .\document -r FitNesseRoot -c "DbFitTests?suite&format=text"" />
</Target>
<Target Name="releasesolution">
<MSBuild Projects="fitsharp.sln"
Properties="Configuration=Release" />
</Target>
<ItemGroup>
<ZipFiles Include="build\release\fit.dll;build\release\fitSharp.dll;build\release\dbfit.dll;build\release\dbfit.oracle.dll;build\release\dbfit.sqlserver.dll;build\release\Runner*.exe;*License.txt" />
</ItemGroup>
<Target Name="zip">
<Zip Files="@(ZipFiles)" Flatten="Yes"
ZipFileName="binary\mylatest.zip" />
</Target>
</Project>