-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnant.build
38 lines (34 loc) · 1.49 KB
/
nant.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
<?xml version="1.0"?>
<project name="zookeeper.net" default="build">
<!--path-->
<property name="dir" value="."/>
<property name="dir.full" value="${path::get-full-path(dir)}"/>
<property name="build.base" value="build"/>
<property name="build.absolutepath" value="${path::get-full-path(build.base)}" />
<!--msbuild-->
<property name="msbuild" value="C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" />
<property name="msbuild.params"
value="/t:rebuild
/p:Configuration=Release
/p:AllowUnsafeBlocks=true
/t:ResolveReferences" />
<property name="msbuild.params.output" value="/p:OutputPath=${build.absolutepath}" />
<target name="clean" description="clean build folder">
<delete dir="${build.absolutepath}"></delete>
</target>
<target name="apploader" description="AppDomainLoader">
<exec program="${msbuild}"
commandline="${msbuild.params} ${msbuild.params.output}\apploader"
workingdir="${dir}\src\Alter.WinService" />
<delete dir="${build.absolutepath}\apploader\bin" />
<delete>
<fileset>
<include name="${build.absolutepath}\apploader\KeekAlive" />
<include name="${build.absolutepath}\apploader\*.pdb" />
<include name="${build.absolutepath}\apploader\*.xml" />
<include name="${build.absolutepath}\apploader\*.manifest" />
<include name="${build.absolutepath}\apploader\*.application" />
</fileset>
</delete>
</target>
</project>