Skip to content

Populate sbt-plugin 'model', split compile/test#390

Merged
raboof merged 2 commits intolightbend:mainfrom
raboof:scala-codegen-infra
Sep 15, 2021
Merged

Populate sbt-plugin 'model', split compile/test#390
raboof merged 2 commits intolightbend:mainfrom
raboof:scala-codegen-infra

Conversation

@raboof
Copy link
Copy Markdown
Contributor

@raboof raboof commented Sep 14, 2021

Refs #379

@raboof raboof mentioned this pull request Sep 14, 2021
4 tasks
@raboof raboof force-pushed the scala-codegen-infra branch from c46c6ee to a308250 Compare September 14, 2021 15:48
Comment on lines +23 to +25
if (debugEnabled) println(s"[DEBUG] $message")
override def info(message: String): Unit =
if (debugEnabled) println(s"[INFO] $message")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Who need a log framework? 😄

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah... in Akka gRPC we have a hack to pass the sbt logger to the codegen (https://github.com/akka/akka-grpc/blob/e4abdfa60a5b1d3b7b7e816d05e859e16230db5b/sbt-plugin/src/main/scala/akka/grpc/sbt/AkkaGrpcPlugin.scala#L29), but perhaps we can do without here. We can pass fatal problems out, after all.

@raboof raboof merged commit 4fb56a5 into lightbend:main Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants