Skip to content

Commit

Permalink
Use tlCommandAlias for command aliases (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
regadas committed Mar 15, 2024
1 parent a070b3a commit 2fd6072
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions build.sbt
Expand Up @@ -5,10 +5,11 @@ val scala212 = "2.12.19"
val scala213 = "2.13.12"
val scala3 = "3.3.3"

addCommandAlias("fmt", "; scalafmtAll; scalafmtSbt")
addCommandAlias("fmtCheck", "; scalafmtCheckAll; scalafmtSbtCheck")

tlReplaceCommandAlias("prePR", "; githubWorkflowGenerate ; +fmt; bench/compile; +test")
GlobalScope / tlCommandAliases ++= Map(
"fmt" -> List("scalafmtAll", "scalafmtSbt"),
"fmtCheck" -> List("scalafmtCheckAll", "scalafmtSbtCheck"),
"prePR" -> List("githubWorkflowGenerate", "+fmt", "bench/compile", "+test")
)

ThisBuild / tlBaseVersion := "1.0"
// continue enforcing bincompat with 0.3.x series
Expand Down

0 comments on commit 2fd6072

Please sign in to comment.