Skip to content

Commit

Permalink
rename ServerStart to Lila. New main class is lila.app.Lila
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Dec 12, 2022
1 parent 7e937d9 commit 7d093dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/ServerStart.scala → app/Lila.scala
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import play.api.inject.DefaultApplicationLifecycle

// The program entry point.
// To run with bloop:
// /path/to/bloop run lila -m lila.app.ServerStart -c /path/to/lila/.bloop
object ServerStart {
// /path/to/bloop run lila -m lila.app.Lila -c /path/to/lila/.bloop
object Lila {

def main(args: Array[String]): Unit = start(new RealServerProcess(args.toIndexedSeq))

Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ playDependencyClasspath := (Runtime / externalDependencyClasspath).value
// playCommonClassloader := PlayCommands.playCommonClassloaderTask.value
// playCompileEverything := PlayCommands.playCompileEverythingTask.value.asInstanceOf[Seq[Analysis]]
ivyLoggingLevel := UpdateLogging.DownloadOnly
Compile / mainClass := Some("lila.app.ServerStart")
Compile / mainClass := Some("lila.app.Lila")
// Adds the Play application directory to the command line args passed to Play
bashScriptExtraDefines += "addJava \"-Duser.dir=$(realpath \"$(cd \"${app_home}/..\"; pwd -P)\" $(is_cygwin && echo \"fix\"))\"\n"
// by default, compile any routes files in the root named "routes" or "*.routes"
Expand Down

0 comments on commit 7d093dd

Please sign in to comment.