diff options
Diffstat (limited to 'examples/scalatex-example/docs/build/build.scala')
-rw-r--r-- | examples/scalatex-example/docs/build/build.scala | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/scalatex-example/docs/build/build.scala b/examples/scalatex-example/docs/build/build.scala new file mode 100644 index 0000000..51b158f --- /dev/null +++ b/examples/scalatex-example/docs/build/build.scala @@ -0,0 +1,14 @@ +package cbt_examples.scalatex_example_build +import cbt._ +import java.io._ +import java.nio.file._ +import java.nio.file.attribute._ +class Build(val context: Context) extends Scalatex{ + override def dependencies = super.dependencies ++ Seq( + DirectoryDependency( projectDirectory / ".." ) + ) + override def run = { + scalatex.apply + super.run + } +} |