forked from ninject/Ninject.Web.WebApi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Ninject.Web.WebApi.build
59 lines (54 loc) · 3.07 KB
/
Ninject.Web.WebApi.build
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
59
<?xml version="1.0" encoding="utf-8"?>
<project name="Ninject" default="build">
<property name="version" value="3.0.0.0" overwrite="true"/>
<property name="product.name" value="Ninject.Web.WebApi" overwrite="false"/>
<property name="product.company" value="Ninject Project Contributors" overwrite="false"/>
<property name="product.duration" value="2012" overwrite="false"/>
<property name="product.description" value="Ninject support for MVC Web API" overwrite="false"/>
<property name="product.platforms" value="net-4.0,net-4.5" overwrite="false"/>
<property name="product.buildserverPlatforms" value="net-4.0" overwrite="false"/>
<property name="product.packagePostfix" value="4" overwrite="false"/>
<property name="dependencies" value="Ninject,Ninject.Web.Common" overwrite="false"/>
<include buildfile="Ninject.include" />
<target name="all" depends="core"/>
<target name="nuget-all" depends="nuget-webapi"/>
<target name="core" depends="init">
<csc noconfig="true" warnaserror="true" target="library" debug="${build.debug}" optimize="${build.optimize}" define="${build.defines}" output="${current.path.build}/${product.assembly}" doc="${current.path.build}/${product.docfile}" keyfile="${path.src}/${product.keyfile}">
<arg line="/filealign:512" unless="${nant.settings.currentframework == 'mono-2.0'}"/>
<sources basedir="${path.src}">
<include name="${build.asminfo}"/>
<include name="${product.name}/**/*.cs"/>
</sources>
<references>
<include name="mscorlib.dll"/>
<include name="System.dll"/>
<include name="System.Core.dll"/>
<include name="System.Web.dll"/>
<include name="System.Web.Abstractions.dll"/>
<include name="System.Web.Routing.dll"/>
<include name="System.ComponentModel.DataAnnotations.dll"/>
<include name="${path.lib}/WebApi/System.Net.Http.dll"/>
<include name="${path.lib}/WebApi/System.Web.Http.dll"/>
<include name="${path.lib}/WebApi/System.Web.Http.Common.dll"/>
<include name="${path.lib}/WebApi/System.Web.Http.WebHost.dll"/>
<include name="${path.lib}/Ninject/${build.platform}/Ninject.dll"/>
<include name="${path.lib}/Ninject.Web.Common/${build.platform}/Ninject.Web.Common.dll"/>
</references>
</csc>
</target>
<target name="compile-tests"/>
<target name="compile-silverlight-tests"/>
<target name="nuget-webapi">
<property name="nuget.sourcedir" value="${path.base}/nuget" />
<property name="nuget.basedir" value="${path.base}/build/nuget" />
<property name="nuget.symbol.basedir" value="${path.base}/build/nuget_symbol" />
<property name="nuget.platforms" value="${product.platforms}" />
<property name="nuget.name" value="${product.name}" />
<property name="nuget.project" value="${path.src}/${product.name}/${product.name}.csproj" />
<property name="nuget.releaseDirectory" value="${path.build}\${build.platform}\release" dynamic="true"/>
<property name="nuget.dependencies" value="${dependencies}" />
<property name="nuget.additionalFiles" value="-" />
<property name="nuget.packageName" value="Ninject.Web.WebApi" />
<call target="nuget-run"/>
</target>
</project>