-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
31 lines (25 loc) · 968 Bytes
/
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
<?xml version="1.0"?>
<project name="php-bcrypt-wrapper" basedir="./" default="help">
<!-- help! I need somebody -->
<target name="help">
<echo message="Usage: ant [target [target1 [target2] ...]]" />
<echo message="Targets:" />
<echo message=" help print this message" />
<echo message=" build setup environment" />
<echo message=" clean clean up and create artifact directories" />
<echo message=" tests run unit tests" />
</target>
<!-- clean and prepare environment -->
<target name="clean">
<delete dir="${basedir}/build/coverage" />
<mkdir dir="${basedir}/build/coverage" />
</target>
<!-- build environment -->
<target name="build" depends="clean,tests" />
<!-- run unit tests -->
<target name="tests">
<exec executable="phpunit"
failonerror="true"
/>
</target>
</project>