Skip to content

Commit

Permalink
Reformat with scalafmt 3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongl committed Sep 12, 2021
1 parent 7ed6891 commit 66c10cd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
24 changes: 12 additions & 12 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ ThisBuild / dynverVTagPrefix := false

lazy val root = (project in file("."))
.settings(
organization := "fun.zhongl",
scalaVersion := "2.13.4",
name := "passport",
scalafmtOnCompile := true,
organization := "fun.zhongl",
scalaVersion := "2.13.4",
name := "passport",
scalafmtOnCompile := true,
scalacOptions += "-deprecation",
Compile / mainClass := Some("zhongl.passport.Main"),
Docker / maintainer:= "zhong.lunfu@gmail.com",
dockerBaseImage := "openjdk:8-alpine",
dockerEnvVars := Map("DOCKER_HOST" -> "unix:///var/run/docker.sock"),
dockerExposedPorts := Seq(8080),
Compile / mainClass := Some("zhongl.passport.Main"),
Docker / maintainer := "zhong.lunfu@gmail.com",
dockerBaseImage := "openjdk:8-alpine",
dockerEnvVars := Map("DOCKER_HOST" -> "unix:///var/run/docker.sock"),
dockerExposedPorts := Seq(8080),
Docker / daemonUserUid := None,
Docker / daemonUser := "root",
dockerUsername := Some("zhongl"),
dockerUpdateLatest := true,
Docker / daemonUser := "root",
dockerUsername := Some("zhongl"),
dockerUpdateLatest := true,
libraryDependencies ++= Seq(
"com.github.zhongl" %% "akka-stream-netty-all" % "0.1.11",
"com.github.scopt" %% "scopt" % "4.0.1",
Expand Down
3 changes: 1 addition & 2 deletions src/main/scala/zhongl/passport/Docker.scala
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ class Docker(base: Uri, outgoing: () => Graph[FlowShape[HttpRequest, HttpRespons
}
}

/**
*/
/** */
object Docker {

def apply(host: String = fromEnv)(implicit system: ActorSystem): Docker = {
Expand Down

0 comments on commit 66c10cd

Please sign in to comment.