-
Notifications
You must be signed in to change notification settings - Fork 0
/
aliases.sbt
34 lines (32 loc) · 1.54 KB
/
aliases.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import Util._
addCommandAlias("l", "projects")
addCommandAlias("ll", "projects")
addCommandAlias("ls", "projects")
addCommandAlias("cd", "project")
addCommandAlias("root", "cd playground3")
addCommandAlias("c", "compile")
addCommandAlias("ca", "Test / compile")
addCommandAlias("t", "test")
addCommandAlias("r", "run")
addCommandAlias("rs", "reStart")
addCommandAlias("s", "reStop")
addCommandAlias(
"up2date",
"reload plugins; dependencyUpdates; reload return; dependencyUpdates",
)
onLoadMessage +=
s"""|
|╭─────────────────────────────────╮
|│ List of defined ${styled("aliases")} │
|├─────────────┬───────────────────┤
|│ ${styled("l")} | ${styled("ll")} | ${styled("ls")} │ projects │
|│ ${styled("cd")} │ project │
|│ ${styled("root")} │ cd root │
|│ ${styled("c")} │ compile │
|│ ${styled("ca")} │ compile all │
|│ ${styled("t")} │ test │
|│ ${styled("r")} │ run │
|│ ${styled("rs")} │ reStart │
|│ ${styled("s")} │ reStop │
|│ ${styled("up2date")} │ dependencyUpdates │
|╰─────────────┴───────────────────╯""".stripMargin