aboutsummaryrefslogtreecommitdiff
path: root/stage2/BasicBuild.scala
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2017-03-09 22:41:09 -0500
committerChristopher Vogt <oss.nsp@cvogt.org>2017-03-09 22:41:09 -0500
commit616c824f3d49853323a7d776f914281b7544ad41 (patch)
tree5864a198715ab440362bb61bb1f8a3f14d6d9a79 /stage2/BasicBuild.scala
parent919d7987fad82f59f998a29d79a82116049af1b9 (diff)
downloadcbt-616c824f3d49853323a7d776f914281b7544ad41.tar.gz
cbt-616c824f3d49853323a7d776f914281b7544ad41.tar.bz2
cbt-616c824f3d49853323a7d776f914281b7544ad41.zip
avoid non-existent directory warning
Diffstat (limited to 'stage2/BasicBuild.scala')
-rw-r--r--stage2/BasicBuild.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2/BasicBuild.scala b/stage2/BasicBuild.scala
index f3e5f99..5f74c99 100644
--- a/stage2/BasicBuild.scala
+++ b/stage2/BasicBuild.scala
@@ -88,7 +88,7 @@ trait BaseBuild extends BuildInterface with DependencyImplementation with Trigge
*/
def compileStatusFile: File = compileTarget ++ ".last-success"
- def generatedSources: Seq[File] = Seq( projectDirectory / "src_generated" )
+ def generatedSources: Seq[File] = Seq( projectDirectory / "src_generated" ).filter( _.exists )
/** Source directories and files. Defaults to .scala and .java files in src/ and top-level. */
def sources: Seq[File] = (
Seq(defaultSourceDirectory)