@@ -27,11 +27,11 @@ lazy val `lila-ws` = project
27
27
libraryDependencies ++= Seq (
28
28
(" org.reactivemongo" %% " reactivemongo" % " 1.1.0-RC12" )
29
29
.exclude(" org.scala-lang.modules" , " scala-java8-compat_2.13" ),
30
- " org.reactivemongo" % s " reactivemongo-shaded-native- $os- $arch" % " 1.1.0-RC12" ,
31
- " io.lettuce" % " lettuce-core" % " 6.3.1.RELEASE" ,
32
- " io.netty" % " netty-handler" % nettyVersion,
33
- " io.netty" % " netty-codec-http" % nettyVersion,
34
- (" io.netty" % s " netty-transport-native-epoll " % nettyVersion)
30
+ " org.reactivemongo" % s " reactivemongo-shaded-native- $os- $arch" % " 1.1.0-RC12" ,
31
+ " io.lettuce" % " lettuce-core" % " 6.3.1.RELEASE" ,
32
+ " io.netty" % " netty-handler" % nettyVersion,
33
+ " io.netty" % " netty-codec-http" % nettyVersion,
34
+ (" io.netty" % s " netty-transport-native-epoll " % nettyVersion)
35
35
.classifier(s " linux- $arch_" ),
36
36
(" io.netty" % s " netty-transport-native-kqueue " % nettyVersion)
37
37
.classifier(s " osx- $arch_" ),
@@ -50,17 +50,24 @@ lazy val `lila-ws` = project
50
50
" com.roundeights" %% " hasher" % " 1.3.1" ,
51
51
" org.scalameta" %% " munit" % " 1.0.0-M11" % Test
52
52
),
53
- scalacOptions := Seq (
54
- " -encoding" ,
55
- " utf-8" ,
56
- " -rewrite" ,
57
- " -source:future-migration" ,
58
- " -indent" ,
59
- " -explaintypes" ,
60
- " -feature" ,
61
- " -language:postfixOps" ,
62
- " -Xtarget:21" ,
63
- " -Wunused:all"
64
- ),
65
- javaOptions ++= Seq (" -Xms32m" , " -Xmx256m" )
53
+ scalacOptions := Seq (
54
+ " -encoding" ,
55
+ " utf-8" ,
56
+ " -rewrite" ,
57
+ " -source:future-migration" ,
58
+ " -indent" ,
59
+ " -explaintypes" ,
60
+ " -feature" ,
61
+ " -language:postfixOps" ,
62
+ " -Xtarget:21" ,
63
+ " -Wunused:all"
64
+ ),
65
+ javaOptions ++= Seq (" -Xms32m" , " -Xmx256m" )
66
+ )
67
+
68
+
69
+ addCommandAlias(" prepare" , " scalafixAll; scalafmtAll" )
70
+ addCommandAlias(
71
+ " check" ,
72
+ " ; scalafixAll --check ; scalafmtCheckAll" ,
66
73
)
0 commit comments