-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtwitterizer.build
63 lines (58 loc) · 2.19 KB
/
twitterizer.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
60
61
62
63
<?xml version="1.0"?>
<project name="Twitterizer" default="build">
<target name="build" depends="clean">
<mkdir dir="${CCNetWorkingDirectory}\bin" />
<csc target="library" output="${CCNetWorkingDirectory}\bin\Twitterizer2.dll" doc="${CCNetWorkingDirectory}\bin\Twitterizer2.xml">
<sources>
<include name="${CCNetWorkingDirectory}\Twitterizer2\**\*.cs" />
</sources>
<references>
<include name="${CCNetWorkingDirectory}\lib\Newtonsoft.Json.dll" />
<include name="System.Web.dll" />
</references>
</csc>
</target>
<target name="buildstreaming" depends="build">
<csc target="library" output="${CCNetWorkingDirectory}\bin\Twitterizer2.Streaming.dll" doc="${CCNetWorkingDirectory}\bin\Twitterizer2.Streaming.xml">
<sources>
<include name="${CCNetWorkingDirectory}\Twitterizer2.Streaming\**\*.cs" />
</sources>
<references>
<include name="${CCNetWorkingDirectory}\bin\Twitterizer2.dll" />
<include name="${CCNetWorkingDirectory}\lib\Newtonsoft.Json.dll" />
<include name="System.Web.dll" />
</references>
</csc>
</target>
<target name="clean" description="Delete all previously compiled binaries.">
<delete>
<fileset>
<include name="**/bin/**" />
<include name="**/obj/**" />
<include name="**/*.suo" />
<include name="**/*.user" />
</fileset>
</delete>
</target>
<target name="test" depends="build,buildstreaming">
<csc target="library" output="${CCNetWorkingDirectory}\bin\Twitterizer2.TestCases.dll">
<sources>
<include name="${CCNetWorkingDirectory}\Twitterizer2.TestCases\**\*.cs" />
</sources>
<references>
<include name="${CCNetWorkingDirectory}\bin\Twitterizer2.dll" />
<include name="${CCNetWorkingDirectory}\bin\Twitterizer2.Streaming.dll" />
<include name="${CCNetWorkingDirectory}\lib\Newtonsoft.Json.dll" />
<include name="${CCNetWorkingDirectory}\lib\nunit.framework.dll" />
</references>
</csc>
<nunit2 haltonfailure="true">
<test assemblyname="${CCNetWorkingDirectory}\bin\Twitterizer2.TestCases.dll">
<categories>
<include name="Read-Only" />
</categories>
</test>
</nunit2>
<delete file="${CCNetWorkingDirectory}\bin\Twitterizer2.TestCases.dll" />
</target>
</project>