An example SBT project which uses macros (Scala 2.11, SBT 0.13)
Scala
Switch branches/tags
Nothing to show
Clone or download
xeno-by Merge pull request #5 from aholland/simple-sbt-file
Removed project/Build.scala and replaced it with a simple-as-possible…
Latest commit 7820e75 May 14, 2016

README.md

An example SBT project which uses macros (Scala 2.11, SBT 0.13)

To verify that everything works fine, do sbt run.

Note that currently SBT doesn't support recompilation of macro clients if the dependencies of the macro implementation have changed - macro clients are only recompiled when the macro definition itself is: https://github.com/sbt/sbt/issues/399.

Huge thanks to Paul Butcher (https://github.com/paulbutcher/ScalaMock/blob/typemacros/project/Build.scala) and Adam Warski (https://github.com/adamw/scala-macro-debug) whose SBT projects I used as prototypes for this one.