From 2fd6072af4303af2794d6ec186bea7899458e529 Mon Sep 17 00:00:00 2001 From: Filipe Regadas Date: Fri, 15 Mar 2024 23:38:52 +0000 Subject: [PATCH] Use tlCommandAlias for command aliases (#576) --- build.sbt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index 5110536f..be6a67c8 100644 --- a/build.sbt +++ b/build.sbt @@ -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