-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
42 lines (36 loc) · 1.41 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="opus4-deepgreen">
<property environment="env" />
<target name="clean">
<delete dir="${basedir}/build/logs" />
<delete dir="${basedir}/build/api" />
<delete dir="${basedir}/build/coverage" />
<delete dir="${basedir}/build/pdepend" />
<delete dir="${basedir}/build/code-browser" />
<delete includeEmptyDirs="true">
<fileset dir="${basedir}/build/workspace/cache" includes="**/*" />
</delete>
<delete includeEmptyDirs="true">
<fileset dir="${basedir}/build/workspace/tmp" includes="**/*" />
</delete>
<delete includeEmptyDirs="true">
<fileset dir="${basedir}/build/workspace" />
</delete>
</target>
<target name="prepare-workspace">
<mkdir dir="${basedir}/build/workspace/cache" />
<mkdir dir="${basedir}/build/workspace/tmp" />
<mkdir dir="${basedir}/build/workspace/log" />
<mkdir dir="${basedir}/build/workspace/files" />
</target>
<target name="lint">
<apply executable="php" dir="${basedir}" failonerror="on" logerror="on">
<arg line="-l"/>
<fileset dir="${basedir}" followsymlinks="false">
<include name="**/*.php"/>
<modified />
<exclude name="vendor/**"/>
</fileset>
</apply>
</target>
</project>