-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
49 lines (28 loc) · 1.03 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import play.Project._
import Dependencies._
import com.typesafe.sbt.SbtScalariform._
import scalariform.formatter.preferences._
name := "playbase"
version := "1.0-SNAPSHOT"
scalacOptions ++= Options.scalaBuildOptions
libraryDependencies ++= fwkDependencies
playScalaSettings
defaultScalariformSettings
ScalariformKeys.preferences := ScalariformKeys.preferences.value
.setPreference(AlignParameters, true)
.setPreference(AlignSingleLineCaseStatements, true)
.setPreference(DoubleIndentClassDeclaration, true)
.setPreference(PreserveDanglingCloseParenthesis, true)
addCommandAlias("t", "test")
addCommandAlias("to", "test-only")
addCommandAlias("tq", "testQuick")
addCommandAlias("c", "compile")
addCommandAlias("tc", "test:compile")
addCommandAlias("cct", ";clean ;compile ;test")
addCommandAlias("r", "run")
addCommandAlias("f", ";scalariformFormat ;test:scalariformFormat")
addCommandAlias("u", "update")
addCommandAlias("r", "reload")
addCommandAlias("d", "dependencies")
addCommandAlias("p", "project")
addCommandAlias("q", "quit")