summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2011-12-26 16:27:06 +0100
committerEugene Burmako <xeno.by@gmail.com>2011-12-26 16:28:30 +0100
commitff50b8c4a215cbc3321d06011a37a86593e3912d (patch)
tree485f968fb05c9ba823fd7db25bf1006918c8661a /build.xml
parenta31e4f8a75f9162ab2f0c8d3bec42675b29fefb5 (diff)
downloadscala-ff50b8c4a215cbc3321d06011a37a86593e3912d.tar.gz
scala-ff50b8c4a215cbc3321d06011a37a86593e3912d.tar.bz2
scala-ff50b8c4a215cbc3321d06011a37a86593e3912d.zip
scalacheck now also has pre-scalacheck and its personal timer
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 1770da7317..1867a47f55 100644
--- a/build.xml
+++ b/build.xml
@@ -661,7 +661,14 @@ QUICK BUILD (QUICK)
<stopwatch name="quick.plugins.timer" action="total"/>
</target>
- <target name="quick.scalacheck" depends="quick.plugins">
+ <target name="quick.pre-scalacheck" depends="quick.plugins">
+ <uptodate property="quick.scalacheck.available" targetfile="${build-quick.dir}/scalacheck.complete">
+ <srcfiles dir="${src.dir}/scalacheck"/>
+ </uptodate>
+ </target>
+
+ <target name="quick.scalacheck" depends="quick.pre-scalacheck" unless="quick.scalacheck.available">
+ <stopwatch name="quick.scalacheck.timer"/>
<mkdir dir="${build-quick.dir}/classes/scalacheck"/>
<scalacfork
destdir="${build-quick.dir}/classes/scalacheck"
@@ -675,6 +682,8 @@ QUICK BUILD (QUICK)
<pathelement location="${build-quick.dir}/classes/scalacheck"/>
</compilationpath>
</scalacfork>
+ <touch file="${build-quick.dir}/scalacheck.complete" verbose="no"/>
+ <stopwatch name="quick.scalacheck.timer" action="total"/>
</target>
<target name="quick.pre-scalap" depends="quick.scalacheck">