Skip to content

Commit ab49e70

Browse files
authored
Merge pull request #3943 from danicheg/rm-old-sbt-syntax
Use new sbt syntax for fmt commands
2 parents b93f028 + fe08b47 commit ab49e70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -912,8 +912,8 @@ lazy val publishSettings = Seq(
912912
) ++ sharedPublishSettings ++ sharedReleaseProcess
913913

914914
// Scalafmt
915-
addCommandAlias("fmt", "; compile:scalafmt; test:scalafmt; scalafmtSbt")
916-
addCommandAlias("fmtCheck", "; compile:scalafmtCheck; test:scalafmtCheck; scalafmtSbtCheck")
915+
addCommandAlias("fmt", "; Compile / scalafmt; Test / scalafmt; scalafmtSbt")
916+
addCommandAlias("fmtCheck", "; Compile / scalafmtCheck; Test / scalafmtCheck; scalafmtSbtCheck")
917917

918918
// These aliases serialise the build for the benefit of Travis-CI.
919919
addCommandAlias("buildKernelJVM", ";kernelJVM/test;kernelLawsJVM/test")

0 commit comments

Comments
 (0)