-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: extract aliases definition for the generated project to an isol…
…ated file
- Loading branch information
1 parent
f4909f4
commit be9ccbb
Showing
3 changed files
with
19 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
object SbtAliases { | ||
val aliases: Seq[(String, String)] = Seq( | ||
"t" -> "test", | ||
"to" -> "testOnly", | ||
"tq" -> "testQuick", | ||
"tsf" -> "testShowFailed", | ||
"c" -> "compile", | ||
"tc" -> "Test / compile", | ||
"f" -> "scalafmt", // Format production files according to ScalaFmt | ||
"fc" -> "scalafmtCheck", // Check if production files are formatted according to ScalaFmt | ||
"tf" -> "Test / scalafmt", // Format test files according to ScalaFmt | ||
"tfc" -> "Test / scalafmtCheck", // Check if test files are formatted according to ScalaFmt | ||
"prep" -> ";c;tc;fc;tfc" // All the needed tasks before pushing to the repository (compile, compile test, format check in prod and test) | ||
) | ||
} |