-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaliases.sbt
40 lines (37 loc) · 1.7 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
35
36
37
38
39
40
import Util._
addCommandAlias("cd", "project")
addCommandAlias("root", "cd spells")
addCommandAlias("c", "compile")
addCommandAlias("ca", "test:compile")
addCommandAlias("t", "test")
addCommandAlias("r", "run")
addCommandAlias(
"up2date",
"reload plugins; dependencyUpdates; reload return; dependencyUpdates"
)
addCommandAlias("testWithCoverage", "clean; coverage; test; coverageReport")
addCommandAlias("deploySnapshot", "clean; test; publish")
addCommandAlias("deploy", "clean; test; publishSigned; sonatypeReleaseAll")
addCommandAlias("deploySnapshotAll", "+clean; +test; +publish")
addCommandAlias(
"deployAll",
"+clean; +test; +publishSigned; sonatypeReleaseAll"
)
onLoadMessage +=
s"""|
|────────────────────────────────────
| List of defined ${styled("aliases")}
|─────────────────┬──────────────────
|${styled("cd")} │ project
|${styled("root")} │ cd spells
|${styled("c")} │ compile
|${styled("ca")} │ compile all
|${styled("t")} │ test
|${styled("r")} │ run
|${styled("up2date")} │ dependencyUpdates
|${styled("deploy")} │ deploy
|${styled("deploySnapshot")} │ deploySnapshot
|${styled("deployAll")} │ deployAll
|${styled("deploySnapshotAll")}│ deploySnapshotAll
|${styled("testWithCoverage")} │ testWithCoverage
|─────────────────┴──────────────────""".stripMargin