-
Notifications
You must be signed in to change notification settings - Fork 0
/
commands.sbt
18 lines (16 loc) · 1.34 KB
/
commands.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import Util._
addCommandAlias("update", "reload plugins; dependencyUpdates; reload return; dependencyUpdates")
addCommandAlias("lintDependencies", "reload; unusedCompileDependencies; undeclaredCompileDependencies")
onLoadMessage +=
s"""
|
| List of common ${styled("commands")}:
|┌──────────────────┬────────────────────────────────────────────┐
|│ ${styled("run")} │ run the application │
|│ ${styled("test")} │ run tests │
|├──────────────────┼────────────────────────────────────────────┤
|│ ${styled("update")} │ check for dependency updates │
|│ ${styled("lintDependencies")} │ check unused and undeclared dependencies │
|│ ${styled("scalafmt")} │ format sources with scalafmt │
|└──────────────────┴────────────────────────────────────────────┘
""".stripMargin