diff options
author | Jan Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-13 10:39:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-13 10:39:40 -0500 |
commit | e0fb6ec75286c695b7e4c5ed9189714d40f9b672 (patch) | |
tree | 3cf36e22305cc1da608667cfef85afcf682cc21a /examples/multi-standalone-example/sub2/build/build.scala | |
parent | 0a295c21d3379117e661fdbf586ecb6222c3602b (diff) | |
parent | d1cbc1efffd5c2a6511f1ccca43ccfb37a7f1af8 (diff) | |
download | cbt-e0fb6ec75286c695b7e4c5ed9189714d40f9b672.tar.gz cbt-e0fb6ec75286c695b7e4c5ed9189714d40f9b672.tar.bz2 cbt-e0fb6ec75286c695b7e4c5ed9189714d40f9b672.zip |
Merge pull request #303 from cvogt/nested-builds
Add support for nested builds and use it to replace cross compilation command which was previously hard-coded
Diffstat (limited to 'examples/multi-standalone-example/sub2/build/build.scala')
-rw-r--r-- | examples/multi-standalone-example/sub2/build/build.scala | 10 |
1 files changed, 10 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" ) + ) +} |