diff options
author | Jan Christopher Vogt <oss.nsp@cvogt.org> | 2017-03-24 14:42:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-24 14:42:46 -0400 |
commit | b1da71bdb69b01feb4ce7bd90a39ffef4e8dc1b1 (patch) | |
tree | c97032dd1026334a57fdf16a5c1ff2ecd947d397 /examples/scalapb-example/build/build.scala | |
parent | 376abfa34a53b1bb0ffd546650429fff52ba90a0 (diff) | |
parent | 01855e0ed4eae2b1ab11b854176da940347f6131 (diff) | |
download | cbt-b1da71bdb69b01feb4ce7bd90a39ffef4e8dc1b1.tar.gz cbt-b1da71bdb69b01feb4ce7bd90a39ffef4e8dc1b1.tar.bz2 cbt-b1da71bdb69b01feb4ce7bd90a39ffef4e8dc1b1.zip |
Merge pull request #452 from cvogt/scalapb-plugin
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 + } +} |