-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.xml
62 lines (47 loc) · 1.52 KB
/
build.xml
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
61
62
<?xml version="1.0" encoding="utf-8"?>
<project name="Lockdown" basedir="." default="prod">
<description>ANT build file for git://github.com/draeton/lockdown</description>
<property environment="env"/>
<property name="repo" value="lockdown"/>
<import file="../_tools/github/common-targets.xml"/>
<target name="-init" depends="-load.properties" description="Starting new build">
<echo>Starting new build</echo>
<filelist id="src.js" dir="${src.dir}">
<file name="${repo}.js"/>
</filelist>
<filelist id="src.css" dir="${src.dir}">
<file name="${repo}.css"/>
</filelist>
</target>
<target name="-copy-depends" depends="-init" description="Copying dependencies">
<echo>Copying dependencies</echo>
<copy todir="${build.dir}/js">
<fileset dir="${src.dir}/lib"/>
</copy>
</target>
<!-- * build * -->
<target name="prod"
description="Builds project files for production use"
depends="
-init,
-load.properties,
-clean,
-check-status,
-commit.message,
-increment,
-readme,
-docco,
-concat,
-minify,
-copy-depends,
-zip,
-commit">
</target>
<target name="pages"
description="Builds project pages (and prod)"
depends="
prod,
-gh-pages-update,
-gh-pages-commit">
</target>
</project>