diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-11-12 18:51:33 -0500 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-13 10:10:03 -0500 |
commit | b1db36baebe1f76a39e8bd1a89892465c70b69be (patch) | |
tree | 455c2429a2b94c9d6813a5df498fddf293123ec7 /examples/multi-standalone-example/sub2/build | |
parent | 8ebada86b1fc58465751864acba8aafd387ccb4b (diff) | |
download | cbt-b1db36baebe1f76a39e8bd1a89892465c70b69be.tar.gz cbt-b1db36baebe1f76a39e8bd1a89892465c70b69be.tar.bz2 cbt-b1db36baebe1f76a39e8bd1a89892465c70b69be.zip |
rename folder of one example as preparation for creating another one
showing how to do the same in a single build
Diffstat (limited to 'examples/multi-standalone-example/sub2/build')
-rw-r--r-- | examples/multi-standalone-example/sub2/build/build.scala | 10 | ||||
-rw-r--r-- | examples/multi-standalone-example/sub2/build/build/build.scala | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/examples/multi-standalone-example/sub2/build/build.scala b/examples/multi-standalone-example/sub2/build/build.scala new file mode 100644 index 0000000..2c39a54 --- /dev/null +++ b/examples/multi-standalone-example/sub2/build/build.scala @@ -0,0 +1,10 @@ +import cbt._ + +class Build(val context: Context) extends SharedCbtBuild{ + override def dependencies = + super.dependencies ++ // don't forget super.dependencies here + Seq( + // source dependency + DirectoryDependency( projectDirectory.getParentFile ++ "/common" ) + ) +} diff --git a/examples/multi-standalone-example/sub2/build/build/build.scala b/examples/multi-standalone-example/sub2/build/build/build.scala new file mode 100644 index 0000000..efeeb77 --- /dev/null +++ b/examples/multi-standalone-example/sub2/build/build/build.scala @@ -0,0 +1,10 @@ +import cbt._ + +class Build(val context: Context) extends BuildBuild{ + override def dependencies = + super.dependencies ++ // don't forget super.dependencies here + Seq( + // source dependency + DirectoryDependency( projectDirectory.getParentFile.getParentFile ++ "/shared-build" ) + ) +} |