-
Notifications
You must be signed in to change notification settings - Fork 3
/
phing.xml
45 lines (34 loc) · 1.82 KB
/
phing.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
<?xml version="1.0" encoding="UTF-8"?>
<project name="Arcavias PHPExcel extension" default="test">
<target name="test" description="Executes all tests">
<phing target="test" haltonfailure="true" dir="lib/custom" />
<phing target="test" haltonfailure="true" dir="controller/extjs" />
</target>
<target name="testperf" description="Executes all performance tests">
</target>
<target name="coverage" description="Generates the code coverage report">
<phing target="coverage" haltonfailure="true" dir="lib/custom" />
<phing target="coverage" haltonfailure="true" dir="controller/extjs" />
</target>
<target name="check" description="Executes all checks">
<phing target="check" haltonfailure="true" dir="lib/custom" />
<phing target="check" haltonfailure="true" dir="controller/extjs" />
</target>
<target name="clean" description="Cleans up temporary files">
<phing target="clean" haltonfailure="true" dir="lib/custom" />
<phing target="clean" haltonfailure="true" dir="controller/extjs" />
</target>
<target name="i18n" description="Creates all translation files">
</target>
<target name="build" description="Creates all files to be generated" >
</target>
<target name="release" description="Creates new release" depends="build">
<propertyprompt propertyName="version" promptText="Enter release version" promptCharacter=":" useExistingValue="true"/>
<exec command="git branch ${version}" checkreturn="true" logoutput="true" />
<exec command="git tag -a ${version}.0 -m 'Release ${version}.0'" checkreturn="true" logoutput="true" />
<exec command="git push origin ${version}" checkreturn="true" logoutput="true" />
<exec command="git push --tags" checkreturn="true" logoutput="true" />
</target>
<target name="all" depends="test,check,clean" description="Builds all parts of the package">
</target>
</project>