forked from brickpile/brickpile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
136 lines (136 loc) · 5.84 KB
/
build.xml
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<?xml version="1.0" encoding="utf-8"?>
<project xmlns="http://nant.sf.net/release/meridium/nant.xsd"
name="BrickPile" version="0.3.0.0" fileVersion="0.3.0.*" releaseConfiguration="Release" debugConfiguration="Debug"
copyrightText="(c) Marcus Lindblom" copyrightHref="http://www.getbrickpile.com" feedbackEmail="marcus@getbrickpile.com"
publishHtmlDocumentation="true" ideVersion="10.0" sourceFolder="src\BrickPile" solutionFile="BrickPile.sln" nrOfPublishedBuildsToKeep="10">
<items type="class" generateXml="false" target="runtime|testDebug" autover="true">
<item name="BrickPile.Core" type="class" />
<item name="BrickPile.Domain" type="class" />
<item name="BrickPile.FileSystem.AmazonS3" type="class" />
<!--<item name="BrickPile.Raven.Plugins" type="class" />-->
<item name="BrickPile.Sample" type="web" />
<item name="BrickPile.Tests" type="class" />
</items>
<items type="class" path="BrickPile.Sample/Areas" generateXml="false" target="runtime|testDebug" autover="true">
<item name="BrickPile.UI" projectFolderName="UI" type="web" />
</items>
<items path="packages/NUnit.2.6.2/lib" type="reference" target="testDebug">
<item name="nunit.framework.dll"/>
</items>
<items path="packages/Moq.4.0.10827/lib/NET40" type="reference" target="testDebug">
<item name="Moq.dll"/>
</items>
<items path="packages/structuremap.2.6.4.1/lib" type="reference" target="testDebug">
<item name="StructureMap.dll"/>
</items>
<items path="packages/RavenDB.Embedded.2.0.2230/lib/net40" type="reference" target="testDebug">
<item name="Raven.Client.Embedded.dll"/>
</items>
<items path="packages/RavenDB.Database.2.0.2230/lib/net40" type="reference" target="testDebug">
<item name="Esent.Interop.dll" />
<item name="GeoAPI.dll" />
<item name="ICSharpCode.NRefactory.CSharp.dll" />
<item name="ICSharpCode.NRefactory.dll" />
<item name="Jint.Raven.dll" />
<item name="Lucene.Net.Contrib.Spatial.NTS.dll" />
<item name="Lucene.Net.dll" />
<item name="Mono.Cecil.dll" />
<item name="NetTopologySuite.dll"/>
<item name="PowerCollections.dll"/>
<item name="Raven.Abstractions.dll" />
<item name="Raven.Database.dll" />
<item name="Spatial4n.Core.NTS.dll" />
</items>
<items path="packages/RavenDB.Client.2.0.2230/lib/net40" type="reference" target="testDebug">
<item name="Raven.Abstractions.dll" />
<item name="Raven.Client.Lightweight.dll" />
</items>
<items path="packages/Newtonsoft.Json.4.5.11/lib/net40" type="reference" target="testDebug">
<item name="Newtonsoft.Json.dll"/>
</items>
<items type="nunit" target="testDebug" autover="true" framework="4.0">
<item name="BrickPile.Tests"/>
</items>
<items type="nuget" options="publish:false">
<item name="BrickPile">
<preNuget>
<property name="l_rootFolder" value="${action.workDir}/BrickPile"/>
<mkdir dir="${l_rootFolder}/lib"/>
<mkdir dir="${l_rootFolder}/content/Areas/UI"/>
<copy todir="${l_rootFolder}/lib">
<fileset basedir="${project.buildDir}/Dlls/Release">
<include name="BrickPile.Core.dll"/>
<include name="BrickPile.Domain.dll"/>
<include name="BrickPile.UI.dll"/>
</fileset>
</copy>
<!--<copy todir="${l_rootFolder}/content/App_Data/Plugins">
<fileset basedir="${project.buildDir}/Dlls/Release">
<include name="BrickPile.Raven.Plugins.dll" />
</fileset>
</copy>-->
<copy todir="${l_rootFolder}/content">
<fileset basedir="${project.baseDir}">
<include name="web.config.transform" />
</fileset>
</copy>
<copy todir="${l_rootFolder}/content/Areas/UI">
<fileset basedir="${project.baseDir}/BrickPile.Sample/Areas/UI">
<include name="Content/**/*" />
<include name="Images/**/*" />
<include name="Scripts/**/*" />
<include name="Styles/**/*" />
<include name="Views/**/*" />
</fileset>
</copy>
</preNuget>
</item>
<item name="BrickPile-Sample">
<preNuget>
<property name="l_rootFolder" value="${action.workDir}/BrickPile-Sample"/>
<mkdir dir="${l_rootFolder}/content"/>
<copy todir="${l_rootFolder}/content/">
<fileset basedir="${project.baseDir}/BrickPile.Sample">
<include name="Controllers/*.cs"/>
<include name="Models/*.cs"/>
<include name="Web/Mvc/*.cs"/>
<include name="ViewModels/*.cs"/>
<include name="Content/**/*" />
<include name="Scripts/**/*" />
<include name="Views/**/*" />
</fileset>
</copy>
<foreach item="File" property="filename">
<in>
<items basedir="${l_rootFolder}/content/">
<include name="**/*.cs" />
<include name="**/*.cshtml" />
</items>
</in>
<do>
<attrib file="${filename}" normal="true"/>
<regularExpressionWriter file="${filename}" verbose="true">
<pattern><![CDATA[BrickPile\.Sample]]></pattern>
<replacement>$rootnamespace$</replacement>
</regularExpressionWriter>
<move file="${filename}" tofile="${filename}.pp" />
</do>
</foreach>
</preNuget>
</item>
<item name="BrickPile-AmazonS3">
<preNuget>
<property name="l_rootFolder" value="${action.workDir}/BrickPile-AmazonS3"/>
<mkdir dir="${l_rootFolder}/lib"/>
<copy todir="${l_rootFolder}/lib">
<fileset basedir="${project.buildDir}/Dlls/Release">
<include name="BrickPile.FileSystem.AmazonS3.dll"/>
</fileset>
</copy>
</preNuget>
</item>
</items>
<items type="markdown">
<item name="BrickPile.Docs"/>
</items>
</project>