forked from daylerees/colour-schemes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
35 lines (30 loc) · 1.17 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
<project name="Dayle Rees Colour Schemes" default="build">
<!-- Refresh destination directories. -->
<target name="clean">
<delete dir="${basedir}/sublime"/>
<delete dir="${basedir}/vim"/>
<delete dir="${basedir}/preview"/>
<delete dir="${basedir}/prettyprint"/>
<delete dir="${basedir}/coda"/>
<delete dir="${basedir}/jetbrains"/>
<delete dir="${basedir}/bootstrap"/>
<delete dir="${basedir}/screenshots"/>
<delete dir="${basedir}/sublimeui"/>
<delete dir="${basedir}/xcode"/>
<delete dir="${basedir}/highlightjs"/>
</target>
<!-- Generate themes. -->
<target name="generate" depends="clean">
<exec dir="${basedir}/build" executable="php" failonerror="true">
<arg line="run.php raincolour --ansi"></arg>
</exec>
</target>
<!-- Generate screenshots. -->
<target name="screenshots">
<exec dir="${basedir}/build" executable="php" failonerror="true">
<arg line="screenshots.php"></arg>
</exec>
</target>
<!-- Execute the build process. -->
<target name="build" depends="clean, generate, screenshots"/>
</project>