From fc82234d7fb70373438237543174ecd5b51cda88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mareks=20Ramp=C4=81ns?= <8796159+mr-git@users.noreply.github.com> Date: Thu, 18 Jul 2024 09:18:04 +0300 Subject: [PATCH] add alias for release action --- build.sbt | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 99112428..90f1934f 100644 --- a/build.sbt +++ b/build.sbt @@ -14,7 +14,7 @@ def crossSettings[T](scalaVersion: String, if3: List[T], if2: List[T]) = lazy val commonSettings = Seq( organization := "com.evolutiongaming", - homepage := Some(new URL("https://github.com/evolution-gaming/skafka")), + homepage := Some(url("https://github.com/evolution-gaming/skafka")), startYear := Some(2018), organizationName := "Evolution", organizationHomepage := Some(url("https://evolution.com")), @@ -45,11 +45,22 @@ lazy val commonSettings = Seq( ) ) +val alias: Seq[sbt.Def.Setting[?]] = +// addCommandAlias("fmt", "all scalafmtAll scalafmtSbt; scalafixEnable; scalafixAll") ++ +// addCommandAlias( +// "check", +// "all versionPolicyCheck Compile/doc scalafmtCheckAll scalafmtSbtCheck; scalafixEnable; scalafixAll --check", +// ) ++ + addCommandAlias("check", "all versionPolicyCheck Compile/doc") ++ + addCommandAlias("build", "+all compile test") + + lazy val root = (project in file(".") disablePlugins (MimaPlugin) settings (name := "skafka") settings commonSettings settings (publish / skip := true) + settings (alias) aggregate (skafka, `play-json`, metrics, tests)) lazy val skafka = (project in file("skafka")