-
Notifications
You must be signed in to change notification settings - Fork 1
/
aliases.sbt
67 lines (45 loc) · 2.86 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import CustomSbt.*
addCommandAlias("ci-test", "scalafmtCheckAll; scalafmtSbtCheck; scalafixAll --check; ++test")
addCommandAlias("l", "projects")
addCommandAlias("ll", "projects")
addCommandAlias("ls", "projects")
addCommandAlias("cd", "project")
addCommandAlias("root", "cd poc-scala-data-streaming")
addCommandAlias("c", "compile")
addCommandAlias("ct", "Test / compile")
addCommandAlias("t", "test")
addCommandAlias("r", "run")
addCommandAlias("rs", "reStart")
addCommandAlias("s", "reStop")
addCommandAlias("styleCheck", "scalafixAll --check; scalafmtSbtCheck; scalafmtCheckAll")
addCommandAlias("styleFix", "scalafixAll; scalafmtSbt; scalafmtAll")
addCommandAlias("explicit", "undeclaredCompileDependenciesTest")
addCommandAlias("up2date", "reload plugins; reload return; dependencyUpdates")
addCommandAlias("runCoverage", "clean; coverage; test; coverageReport; coverageAggregate")
addCommandAlias("flinkIT", "processor-flink-integration / test")
addCommandAlias("runFlink", "main/runMain com.fortyseven.main.FlinkMain;")
addCommandAlias("generateData", "main/runMain com.fortyseven.main.DataGeneratorMain;")
addCommandAlias("runSpark", "processor-spark/run;")
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("ct")} │ compile test │
|│ ${styled("t")} │ test │
|│ ${styled("r")} │ run │
|│ ${styled("rs")} │ reStart │
|│ ${styled("s")} │ reStop │
|│ ${styled("styleCheck")} │ scala fix & fmt check │
|│ ${styled("styleFix")} │ scala fix & fmt │
|| ${styled("explicit")} | transitive dependency check |
|│ ${styled("up2date")} │ dependency updates │
|│ ${styled("runCoverage")} │ coverage report
|│ ${styled("generateData")}│ start sending dummy data
|│ ${styled("flinkIT")} │ run flink integration tests │
|│ ${styled("runFlink")} │ run flink │
|│ ${styled("runSpark")} │ run spark │
|╰─────────────┴─────────────────────────────╯""".stripMargin