-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
41 lines (34 loc) · 1.21 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="Bienen" basedir="./" default="test">
<!--
Include local project properties.
-->
<property file="${basedir}/environment.local" />
<property file="${basedir}/environment" />
<property name="icondir" location="${basedir}/web/images/icons" />
<target name="serve">
<echo>Server started at http://${server.host}/</echo>
<exec executable="php">
<arg value="-S" />
<arg value="${server.host}" />
<arg value="-t" />
<arg value="web/" />
</exec>
</target>
<target name="icons:compile">
<mkdir dir="${icondir}" />
<apply executable="inkscape">
<arg value="-f" />
<srcfile />
<arg value="-e" />
<targetfile />
<arg value="--export-dpi=90" />
<arg value="--export-background=#ffffff" />
<arg value="--export-background-opacity=0.0" />
<fileset dir="${basedir}/docs/icons">
<include name="**/*.svg" />
</fileset>
<mapper id="out" type="glob" from="*.svg" to="${icondir}/*.png" />
</apply>
</target>
</project>