~grubng-dev/grubng/tools-urlsdb

6 by thindil
added Nant build script
1
<?xml version="1.0"?>
2
    <project name="Grub Next Generation" default="build" basedir=".">
3
        <description>Grub Next Generation C# database tool.</description>
24 by thindil
update version in build script
4
	<property name="version" value="0.2" overwrite="false" />
6 by thindil
added Nant build script
5
	<property name="debug" value="true" />
6
        <target name="clean" description="remove all generated files">
7
	    <delete dir="bin" failonerror="false" />
8
        </target>
9
        <target name="build" description="compiles source code">
10
	    <mkdir dir="bin" />
11
	    <csc target="exe" output="bin/urlsdb.exe" debug="${debug}" 
12
		 optimize="true" codepage="utf8">
13
              <sources>
14
                  <include name="*.cs" />
15
              </sources>
16
	      <references>
17
		  <include name="System.dll" />
18
		  <include name="System.Xml.dll" />
19
		  <include name="System.Data.dll" />
9 by thindil
fixed bug with deleting URL's from Solr
20
		  <include name="System.Web.dll" />
11 by thindil
added process rename
21
		  <include name="Mono.Posix.dll" />
6 by thindil
added Nant build script
22
	      </references>
23
	      <pkg-references>
24
		<package name="mysql-connector-net-5.0" />
25
	      </pkg-references>
26
	    </csc>
27
	    <copy todir="bin">
28
	      <fileset basedir=".">
29
		<include name="COPYING" />
30
		<include name="ChangeLog" />
15 by thindil
update build script
31
		<include name="README.txt" />
6 by thindil
added Nant build script
32
		<include name="grubworkunits" />
33
		<include name="checkworkunits.sh" />
34
	      </fileset> 
35
	    </copy>
36
        </target>
37
	<target name="tarball" description="create tar.gz with source code">
38
	    <tar destfile="urlsdb-${version}.tar.gz" compression="GZip">
39
	        <fileset prefix="urlsdb-${version}">
40
		    <include name="./*" />
41
		</fileset>
42
	    </tar>
43
	</target>
44
	<target name="zip" description="create .zip file with binaries">
45
	    <zip zipfile="urlsdb-${version}.zip">
46
	    	 <fileset basedir="bin" prefix="urlsdb-${version}">
47
		     <include name="**/*" />
48
		 </fileset>
49
	    </zip>
50
	</target>
51
    </project>