aboutsummaryrefslogtreecommitdiff
path: root/stage1/cbt.scala
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2017-03-06 21:51:28 -0500
committerChristopher Vogt <oss.nsp@cvogt.org>2017-03-07 06:20:34 -0500
commit8f3101566c618b83b6b64974c0aa173fbabd1af3 (patch)
treea0a6cfc18123a202d97205a19fb7bcfa1d4f493b /stage1/cbt.scala
parent683d25d790dbd288ec52cab775931970aad7bae1 (diff)
downloadcbt-8f3101566c618b83b6b64974c0aa173fbabd1af3.tar.gz
cbt-8f3101566c618b83b6b64974c0aa173fbabd1af3.tar.bz2
cbt-8f3101566c618b83b6b64974c0aa173fbabd1af3.zip
make sure binary dependencies exist
Diffstat (limited to 'stage1/cbt.scala')
-rw-r--r--stage1/cbt.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/stage1/cbt.scala b/stage1/cbt.scala
index 0305dd2..062e11d 100644
--- a/stage1/cbt.scala
+++ b/stage1/cbt.scala
@@ -61,6 +61,8 @@ object `package`{
)
}
+ def lastModifiedRecursive = listRecursive.map(_.lastModified).max
+
def readAsString = new String( readAllBytes( file.toPath ) )
}
implicit class URLExtensionMethods( url: URL ){