-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
40 lines (34 loc) · 1.28 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
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." name="Build CV" default="allButPush">
<property name="echo.separator" value="****************************"/>
<property name="message" value="'Updating CV.'"/>
<property name="displayReferences">false</property>
<property name="displayDesc">false</property>
<tstamp>
<format property="date" pattern="yyyy-MM-dd" locale="en"/>
</tstamp>
<property name="source.dir" value="xml"/>
<property name="out.dir" location="docs"/>
<!--Files-->
<property name="source.cv" value="${source.dir}/CV.xml"/>
<target name="createCv">
<ant antfile="../cv/build.xml" inheritall="true" usenativebasedir="true"/>
</target>
<target name="makeCvIndex">
<echo message="${echo.separator}"/>
<echo message="Creating CV index page..."/>
<copy file="docs/CV.html" tofile="index.html"/>
</target>
<target name="pushToGit">
<exec executable="/bin/bash">
<arg line="scripts/git.sh ${message}"/>
</exec>
</target>
<target name="allButPush">
<antcall target="createCv"/>
<!--<antcall target="makeCvIndex"/>-->
</target>
<target name="all">
<antcall target="createCv"/>
</target>
</project>