blob: 7de833b05b92613c7ee2e15503217f7f600f2de4 (
plain)
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
|
<?xml version="1.0" encoding="UTF-8"?>
<!-- ======================================================================
SyncKolab: Sync your contacts with imap
Author: Niko Berger
====================================================================== -->
<project name="SyncKolab" default="default">
<description>
Sync your contacts with imap
</description>
<property name="version" value="2.9.0" />
<!-- ================================= target: default ================================= -->
<target name="default" depends="depends" description="Sync your contacts with imap">
<delete>
<fileset dir="build">
<include name="**/*.*" />
</fileset>
</delete>
<copy todir="build">
<fileset dir="src">
<include name="**/*.*" />
<exclude name="**/*.orig" />
</fileset>
</copy>
<zip destfile="build/chrome/synckolab.jar" basedir="build/chrome" />
<zip destfile="synckolab-${version}.xpi" basedir="build" />
</target>
<target name="nightly" description="nighlty build">
<copy todir="build">
<fileset dir="src">
<include name="**/*.*" />
</fileset>
</copy>
<replace dir="build" value="http://www.gargan.org/extensions/update.rdf">
<include name="**/*.*" />
</replace>
<zip destfile="synckolab-AMO-${version}.xpi" />
</target>
<!-- - - - - - - - - - - - - - - - - -
target: depends
- - - - - - - - - - - - - - - - - -->
<target name="depends">
</target>
<!-- Run QUnit -->
<target name="test" description="run qunit tests">
<java dir="." fork="true" classname="org.mozilla.javascript.tools.shell.Main">
<classpath>
<fileset dir="test/lib"><include name="js.jar"/></fileset>
</classpath>
<arg value="-opt"/>
<arg value="-1"/>
<arg value="-debug"/>
<arg value="test/suite.js"/>
</java>
</target>
</project>
|