Skip to content

Commit

Permalink
πŸ”„ Created local 'common.sbt' from remote 'sbt/common.sbt'
Browse files Browse the repository at this point in the history
  • Loading branch information
ihostage committed Oct 26, 2022
1 parent 6b2a57a commit 6a3aedd
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions common.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Copyright (C) from 2022 The Play Framework Contributors <https://github.com/playframework>, 2011-2021 Lightbend Inc. <https://www.lightbend.com>

addCommandAlias(
"formatCode",
List(
"headerCreateAll",
"scalafmtSbt",
"scalafmtAll",
"javafmtAll"
).mkString(";")
)

addCommandAlias(
"validateCode",
List(
"headerCheckAll",
"scalafmtSbtCheck",
"scalafmtCheckAll",
"javafmtCheckAll",
).mkString(";")
)

0 comments on commit 6a3aedd

Please sign in to comment.