|
15 | 15 | */ |
16 | 16 |
|
17 | 17 | import java.io.File |
18 | | -import java.util.concurrent.TimeUnit |
19 | 18 |
|
20 | 19 | import com.typesafe.tools.mima.core._ |
21 | 20 | import com.github.sbt.git.SbtGit.GitKeys._ |
@@ -46,7 +45,6 @@ ThisBuild / tlUntaggedAreSnapshots := false |
46 | 45 |
|
47 | 46 | ThisBuild / organization := "org.typelevel" |
48 | 47 | ThisBuild / organizationName := "Typelevel" |
49 | | -ThisBuild / tlSonatypeUseLegacyHost := false |
50 | 48 |
|
51 | 49 | ThisBuild / startYear := Some(2020) |
52 | 50 |
|
@@ -331,18 +329,31 @@ val CoopVersion = "1.2.0" |
331 | 329 |
|
332 | 330 | val MacrotaskExecutorVersion = "1.1.1" |
333 | 331 |
|
334 | | -tlReplaceCommandAlias("ci", CI.AllCIs.map(_.toString).mkString) |
335 | | -addCommandAlias("release", "tlRelease") |
| 332 | +Global / tlCommandAliases ++= Map( |
| 333 | + CI.JVM.commandAlias, |
| 334 | + CI.Native.commandAlias, |
| 335 | + CI.JS.commandAlias, |
| 336 | + CI.Firefox.commandAlias, |
| 337 | + CI.Chrome.commandAlias |
| 338 | +) |
| 339 | + |
| 340 | +Global / tlCommandAliases ++= Map( |
| 341 | + "ci" -> CI.AllCIs.flatMap(_.commands) |
| 342 | +) |
336 | 343 |
|
337 | | -addCommandAlias(CI.JVM.command, CI.JVM.toString) |
338 | | -addCommandAlias(CI.Native.command, CI.Native.toString) |
339 | | -addCommandAlias(CI.JS.command, CI.JS.toString) |
340 | | -addCommandAlias(CI.Firefox.command, CI.Firefox.toString) |
341 | | -addCommandAlias(CI.Chrome.command, CI.Chrome.toString) |
| 344 | +Global / tlCommandAliases ++= Map( |
| 345 | + "release" -> List("tlRelease") |
| 346 | +) |
342 | 347 |
|
343 | | -tlReplaceCommandAlias( |
344 | | - "prePR", |
345 | | - "; root/clean; +root/headerCreate; root/scalafixAll; scalafmtSbt; +root/scalafmtAll") |
| 348 | +Global / tlCommandAliases ++= Map( |
| 349 | + "prePR" -> List( |
| 350 | + "root/clean", |
| 351 | + "+root/headerCreate", |
| 352 | + "root/scalafixAll", |
| 353 | + "scalafmtSbt", |
| 354 | + "+root/scalafmtAll" |
| 355 | + ) |
| 356 | +) |
346 | 357 |
|
347 | 358 | val jsProjects: Seq[ProjectReference] = |
348 | 359 | Seq( |
|
0 commit comments