Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updated build

  • Loading branch information...
commit 2ca4daf379ade8b7479c1ea744d59bb8068128ea 1 parent 44a6644
authored November 09, 2011

Showing 1 changed file with 30 additions and 0 deletions. Show diff stats Hide diff stats

  1. 30  build.xml
30  build.xml
@@ -14,4 +14,34 @@
14 14
     <ant dir="src" target="checkout"/>
15 15
   </target>
16 16
 
  17
+  <target name="test" depends="clean, prepare, phploc, pdepend"/>
  18
+
  19
+  <target name="clean">
  20
+    <delete dir="build"/>
  21
+  </target>
  22
+
  23
+  <target name="prepare">
  24
+    <mkdir dir="build"/>
  25
+    <mkdir dir="build/logs"/>
  26
+    <mkdir dir="build/pdepend"/>
  27
+    <mkdir dir="build/coverage"/>
  28
+  </target>
  29
+
  30
+  <target name="phploc">
  31
+    <exec executable="phploc">
  32
+      <arg value="--log-csv" />
  33
+      <arg value="${basedir}/build/logs/phploc.csv"/>
  34
+      <arg value="${basedir}/src/lattice"/>   
  35
+    </exec>
  36
+  </target>
  37
+
  38
+  <target name="pdepend">
  39
+    <exec executable="pdepend">
  40
+      <arg value="--jdepend-xml=${basedir}/build/logs/jdepend.xml" />
  41
+      <arg value="--jdepend-chart=${basedir}/build/pdepend/dependencies.svg" />
  42
+      <arg value="--overview-pyramid=${basedir}/build/pdepend/overview-pyramid.svg"/>
  43
+      <arg value="${basedir}/src/lattice"/>   
  44
+    </exec>
  45
+  </target>
  46
+
17 47
 </project>

0 notes on commit 2ca4daf

Please sign in to comment.
Something went wrong with that request. Please try again.