We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a79c14 commit 837272cCopy full SHA for 837272c
project/Build.scala
@@ -2138,6 +2138,16 @@ object Build {
2138
// default.
2139
addCommandAlias("publishLocal", "scala3-bootstrapped/publishLocal"),
2140
repl := (`scala3-compiler-bootstrapped` / repl).value,
2141
+ (Compile / console) := (Compile / console).dependsOn(Def.task {
2142
+ import _root_.scala.io.AnsiColor._
2143
+ val msg = "`console` uses the reference Scala version. Use `repl` instead."
2144
+ val f = "═" * (msg.length + 2)
2145
+ val box =
2146
+ s"""╔$f╗
2147
+ |║ ${BOLD}$msg$RESET ║
2148
+ |╚$f╝""".stripMargin
2149
+ streams.value.log.warn(box)
2150
+ }).value,
2151
).
2152
settings(
2153
publish / skip := true
0 commit comments