-
Notifications
You must be signed in to change notification settings - Fork 6
/
Ninject.Web.Mvc.FluentValidation.build
40 lines (36 loc) · 2.31 KB
/
Ninject.Web.Mvc.FluentValidation.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
<?xml version="1.0" encoding="utf-8"?>
<project name="Ninject" default="build">
<property name="version" value="0.0.0.0" overwrite="true"/>
<property name="product.name" value="Ninject.Web.Mvc.FluentValidation" overwrite="false"/>
<property name="product.company" value="SNinject Project Contributors" overwrite="false"/>
<property name="product.duration" value="2010-2012" overwrite="false"/>
<property name="product.description" value="Mvc Fluent Validation kernel extension for Ninject" overwrite="false"/>
<property name="product.platforms" value="net-4.0,net-4.5,mono-4.0" overwrite="false"/>
<property name="product.buildserverPlatforms" value="net-3.5,net-4.0,mono-4.0" overwrite="false"/>
<property name="dependencies" value="Ninject" overwrite="false"/>
<include buildfile="Ninject.include" />
<target name="all" depends="core"/>
<target name="nuget-all" depends="nuget"/>
<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"/>
<arg value="-sdk:2" if="${string::contains(build.platform, 'mono-3.5')}"/>
<arg value="-sdk:4" if="${string::contains(build.platform, 'mono-4.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" unless="${build.platform == 'silverlight-2.0'}"/>
<include name="${path.packages}/FluentValidation-Signed.*/lib/net40/FluentValidation.dll"/>
<include name="${path.lib}/FluentValidation/FluentValidation.dll"/>
<include name="${path.lib}/Ninject/${build.platform}/Ninject.dll"/>
</references>
</csc>
</target>
<target name="compile-tests" depends="core" unless="${skip.tests}" if="${not(string::contains(build.platform, 'silverlight') or build.platform == 'netcf-3.5')}" />
<target name="compile-silverlight-tests" depends="core" unless="${skip.tests or skip.silverlightTests}" if="${string::contains(build.platform, 'silverlight')}"/>
</project>