Skip to content

Instantly share code, notes, and snippets.

@eed3si9n
Created April 21, 2019 20:50
Show Gist options
  • Select an option

  • Save eed3si9n/c94c8554df0ad86b840f0da005c592e2 to your computer and use it in GitHub Desktop.

Select an option

Save eed3si9n/c94c8554df0ad86b840f0da005c592e2 to your computer and use it in GitHub Desktop.
import java.util.{ Locale, Properties }
+import java.time.ZonedDateTime
+import java.time.format.DateTimeFormatter.ISO_LOCAL_DATE_TIME
import sbt.BasicCommandStrings.{ Shell, TemplateCommand }
import sbt.Project.LoadAction
@@ -37,6 +39,7 @@ import scala.util.control.NonFatal
/** This class is the entry point for sbt. */
final class xMain extends xsbti.AppMain {
def run(configuration: xsbti.AppConfiguration): xsbti.MainResult = {
+ println(s"${ZonedDateTime.now.format(ISO_LOCAL_DATE_TIME)} xMain#run")
@@ -83,6 +86,7 @@ private[sbt] object xMainImpl {
import BuiltinCommands.defaults
import sbt.internal.CommandStrings.{ BootCommand, DefaultsCommand, InitCommand }
import sbt.internal.client.NetworkClient
+ println(s"${ZonedDateTime.now.format(ISO_LOCAL_DATE_TIME)} xMainImpl#run")
def runManaged(s: State): xsbti.MainResult = {
+ println(s"${ZonedDateTime.now.format(ISO_LOCAL_DATE_TIME)} StandardMain#runManaged")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment