aboutsummaryrefslogtreecommitdiff
path: root/stage2/BasicBuild.scala
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-06-19 16:23:57 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2016-06-19 16:23:57 -0400
commit32691b7908150970344a5c3a5c58fef9dec0a6ac (patch)
tree3fe563f8596b49a136e12dfd693f7b21c0afc90d /stage2/BasicBuild.scala
parentc0eae9a66c756508ee70f10a7638b2444d1edea9 (diff)
downloadcbt-32691b7908150970344a5c3a5c58fef9dec0a6ac.tar.gz
cbt-32691b7908150970344a5c3a5c58fef9dec0a6ac.tar.bz2
cbt-32691b7908150970344a5c3a5c58fef9dec0a6ac.zip
better name for DirectoryDependency
seems to be more precise than BuildDependency, hence hopefully more readable also cleaned up Scaffolding and added DirectoryDependency example
Diffstat (limited to 'stage2/BasicBuild.scala')
-rw-r--r--stage2/BasicBuild.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/stage2/BasicBuild.scala b/stage2/BasicBuild.scala
index 3784d58..42384db 100644
--- a/stage2/BasicBuild.scala
+++ b/stage2/BasicBuild.scala
@@ -87,7 +87,7 @@ trait BaseBuild extends DependencyImplementation with BuildInterface with Trigge
scalaVersion: String = scalaMajorVersion
) = lib.ScalaDependency( groupId, artifactId, version, classifier, scalaVersion )
- final def BuildDependency(path: File) = cbt.BuildDependency(
+ final def DirectoryDependency(path: File) = cbt.DirectoryDependency(
context.copy( projectDirectory = path, args = Seq() )
)
@@ -138,7 +138,7 @@ trait BaseBuild extends DependencyImplementation with BuildInterface with Trigge
def test: Option[ExitCode] =
Some(new lib.ReflectBuild(
- BuildDependency(projectDirectory++"/test").build
+ DirectoryDependency(projectDirectory++"/test").build
).callNullary(Some("run")))
def t = test
def rt = recursiveUnsafe(Some("test"))