forked from datastax/csharp-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
csharp-driver.build
27 lines (25 loc) · 1.19 KB
/
csharp-driver.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
<?xml version="1.0"?>
<project name="CSharp Driver" default="build" basedir=".">
<description>The C# Driver build file</description>
<property name="config" value="debug" />
<property name="build.dir.base" value="bin"/>
<property name="src.dir" value="." />
<property name="outdir" value="${build.dir.base}\${config}" />
<tstamp property="build.date" pattern="yyyyMMddHHmm" verbose="true" />
<target name="init">
<mkdir dir="${outdir}" />
</target>
<target name="clean" description="remove all generated files">
<delete file="bin\${config}\*.*" failonerror="false" />
</target>
<target name="build" description="Build the drivers and tests" depends="init">
<solution configuration="${config}" solutionfile="Cassandra.MyTest.sln" outputdir="${outdir}" />
</target>
<target name="archive" description="zip up build artifacts" depends="build">
<zip zipfile="csharp_driver_${build.date}.zip">
<fileset basedir="${outdir}" prefix="bin">
<include name="**/*" />
</fileset>
</zip>
</target>
</project>