Skip to content

Commit

Permalink
Fix: unable to 'sbt run', No main class detected SandroGrzicic#76
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaTP committed Apr 17, 2015
1 parent a32b725 commit b3298bb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion project/ScalaBuffBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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)

}

Expand Down

0 comments on commit b3298bb

Please sign in to comment.