diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2017-03-22 10:11:46 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2017-03-24 11:32:09 -0400 |
commit | 758611576a4f6ceb7020e3cee1f70bbd1cc0b4d8 (patch) | |
tree | 63befde48bed261a1fbed42543206711818858a3 /examples/scalapb-example/build/build.scala | |
parent | 3d321f42c19d2166204079ba7eece66b36037042 (diff) | |
download | cbt-758611576a4f6ceb7020e3cee1f70bbd1cc0b4d8.tar.gz cbt-758611576a4f6ceb7020e3cee1f70bbd1cc0b4d8.tar.bz2 cbt-758611576a4f6ceb7020e3cee1f70bbd1cc0b4d8.zip |
ScalaPB plugin
Diffstat (limited to 'examples/scalapb-example/build/build.scala')
-rw-r--r-- | examples/scalapb-example/build/build.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/scalapb-example/build/build.scala b/examples/scalapb-example/build/build.scala new file mode 100644 index 0000000..31597d4 --- /dev/null +++ b/examples/scalapb-example/build/build.scala @@ -0,0 +1,8 @@ +import cbt._ + +class Build(val context: Context) extends BaseBuild with Scalapb { + override def compile = taskCache[Build]("compile").memoize{ + scalapb.apply + super.compile + } +} |