forked from Dawn-of-Light/PacketLogConverter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nant.build
32 lines (28 loc) · 1.12 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
<?xml version="1.0"?>
<project name="Packetparser" default="release" basedir=".">
<target name="clean" description="Delete all previously compiled binaries.">
<delete>
<fileset>
<include name="./bin/**" />
<include name="./obj/**" />
</fileset>
</delete>
</target>
<target name="debug">
<property name="configuration.name" value="debug"/>
<call target="clean" />
<call target="build" />
</target>
<target name="release">
<property name="configuration.name" value="release"/>
<call target="clean" />
<call target="build" />
</target>
<target name="build">
<delete dir="${configuration.name}" failonerror="false" />
<property name="msbuild.exe" value="${environment::get-variable('WINDIR')}\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe" overwrite="false" />
<exec program="${msbuild.exe}">
<arg value="./packetlogconverter.sln" />
</exec>
</target>
</project>