-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathbuild.xml
38 lines (33 loc) · 1.35 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="QualityAnalyzer" basedir="./" default="test">
<!--
Include local project properties.
-->
<property file="${basedir}/environment.local" />
<property file="${basedir}/environment" />
<!--
Import main target defintions (extension points)
-->
<import file="${basedir}/ant/main.xml" />
<condition property="dev.module" value="" else="disabled/">
<equals arg1="${env}" arg2="dev" />
</condition>
<!--
Enable used modules
-->
<import file="${basedir}/ant/modules/composer.xml" />
<import file="${basedir}/ant/modules/phpunit.xml" />
<import file="${basedir}/ant/modules/checkstyle.xml" />
<import file="${basedir}/ant/modules/pdepend.xml" />
<import file="${basedir}/ant/modules/phpcpd.xml" />
<import file="${basedir}/ant/modules/phpmd.xml" />
<import file="${basedir}/ant/modules/${dev.module}npm.xml" optional="true" />
<import file="${basedir}/ant/modules/${dev.module}grunt.xml" optional="true" />
<!--
Custom modules
-->
<import file="${basedir}/src/ant/readme.xml" />
<import file="${basedir}/src/ant/${dev.module}watch.xml" optional="true" />
<import file="${basedir}/src/ant/serve.xml" />
<import file="${basedir}/src/ant/${dev.module}deploy.xml" optional="true" />
</project>