diff --git a/project/ScalaBuffBuild.scala b/project/ScalaBuffBuild.scala index c93ecd8..ee71f88 100644 --- a/project/ScalaBuffBuild.scala +++ b/project/ScalaBuffBuild.scala @@ -90,7 +90,13 @@ object ScalaBuffBuild extends Build { settings = defaultSettings ) - val root = project.in(file(".")) settings (publish := {}) aggregate(compilerProject, runtimeProject) + lazy val root = project.in(file(".")). + settings(publish := {}). + settings( + mainClass in (Compile, run) := Some("net.sandrogrzicic.scalabuff.compiler.ScalaBuff") + ). + aggregate(compilerProject, runtimeProject). + dependsOn(compilerProject) }