forked from aimeos/ai-cms-grapesjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phing.xml
56 lines (46 loc) · 2.51 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
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="UTF-8"?>
<project name="ai-cms-grapesjs 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/frontend" />
<phing target="test" haltonfailure="true" dir="admin/jsonadm" />
<phing target="test" haltonfailure="true" dir="admin/jqadm" />
<phing target="test" haltonfailure="true" dir="client/html" />
<phing target="test" haltonfailure="true" dir="client/jsonapi" />
</target>
<target name="testperf" description="Executes all performance tests">
<echo msg="No performance tests available" />
</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/frontend" />
<phing target="coverage" haltonfailure="true" dir="admin/jsonadm" />
<phing target="coverage" haltonfailure="true" dir="admin/jqadm" />
<phing target="coverage" haltonfailure="true" dir="client/html" />
<phing target="coverage" haltonfailure="true" dir="client/jsonapi" />
</target>
<target name="check" description="Checks for code quality">
<phing target="check" haltonfailure="true" dir="lib/custom"/>
<phing target="check" haltonfailure="true" dir="controller/frontend" />
<phing target="check" haltonfailure="true" dir="admin/jsonadm" />
<phing target="check" haltonfailure="true" dir="admin/jqadm" />
<phing target="check" haltonfailure="true" dir="client/html" />
<phing target="check" haltonfailure="true" dir="client/jsonapi" />
</target>
<target name="clean" description="Cleans up temporary files">
<phing target="clean" haltonfailure="true" dir="lib/custom" />
<phing target="clean" haltonfailure="true" dir="controller/frontend" />
<phing target="clean" haltonfailure="true" dir="admin/jsonadm" />
<phing target="clean" haltonfailure="true" dir="admin/jqadm" />
<phing target="clean" haltonfailure="true" dir="client/html" />
<phing target="clean" haltonfailure="true" dir="client/jsonapi" />
</target>
<target name="i18n" description="Creates all translation files">
<phing target="i18n" haltonfailure="true" dir="admin" />
</target>
<target name="build" description="Builds package for deployment">
<phing target="build" haltonfailure="true" dir="admin" />
</target>
<target name="all" depends="test,check,build" description="Builds all parts of the package">
</target>
</project>