-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
32 lines (25 loc) · 1.05 KB
/
build.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
/** ********* PROJECT INFO ******************/
name := "scala-kata-quickstart"
version := "1.0"
/** ********* PROJECT SETTINGS ******************/
Configuration.settings
/** ********* PROD DEPENDENCIES *****************/
libraryDependencies ++= Seq(
"com.github.nscala-time" %% "nscala-time" % "2.18.0",
"com.lihaoyi" %% "pprint" % "0.5.3"
)
/** ********* TEST DEPENDENCIES *****************/
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.4" % Test,
"org.scalamock" %% "scalamock" % "4.0.0" % Test
)
/** ********* COMMANDS ALIASES ******************/
addCommandAlias("t", "test")
addCommandAlias("to", "testOnly")
addCommandAlias("tq", "testQuick")
addCommandAlias("tsf", "testShowFailed")
addCommandAlias("c", "compile")
addCommandAlias("tc", "test:compile")
addCommandAlias("f", "scalafmt") // Format all files according to ScalaFmt
addCommandAlias("ft", "scalafmtTest") // Test if all files are formatted according to ScalaFmt
addCommandAlias("prep", ";c;tc;ft") // All the needed tasks before running the test