Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions Dockerfile

This file was deleted.

11 changes: 0 additions & 11 deletions Dockerfile.template

This file was deleted.

30 changes: 1 addition & 29 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,6 @@ lazy val cli = project
)
.enablePlugins(NativeImagePlugin, BuildInfoPlugin)
.dependsOn(lsif)
commands +=
Command.command("dockerfile") { s =>
"commitall" :: "reload" :: "packagehub/dockerfileUpdate" :: "publish" :: s
}

def commitAll(): Unit = {
import scala.sys.process._
Expand All @@ -236,30 +232,6 @@ commands +=
s
}

lazy val packagehub = project
.in(file("packagehub"))
.settings(
moduleName := "packagehub",
(Compile / mainClass) := Some("com.sourcegraph.packagehub.PackageHub"),
TaskKey[Unit]("dockerfileUpdate") := {
val template = IO.read(file("Dockerfile.template"))
IO.write(file("Dockerfile"), template.replace("VERSION", version.value))
commitAll()
},
libraryDependencies ++=
List(
"com.google.cloud.sql" % "postgres-socket-factory" % "1.3.4",
"com.zaxxer" % "HikariCP" % "5.0.0",
"org.flywaydb" % "flyway-core" % "8.0.1",
"org.postgresql" % "postgresql" % "42.2.23",
"org.rauschig" % "jarchivelib" % "1.2.0",
"org.scalameta" %% "scalameta" % V.scalameta,
"com.lihaoyi" %% "cask" % "0.7.8"
)
)
.enablePlugins(AssemblyPlugin)
.dependsOn(cli)

commands +=
Command.command("nativeImageProfiled") { s =>
val targetroot =
Expand Down Expand Up @@ -400,7 +372,7 @@ lazy val unit = project
),
buildInfoPackage := "tests"
)
.dependsOn(plugin, cli, packagehub)
.dependsOn(plugin, cli)
.enablePlugins(BuildInfoPlugin)

lazy val buildTools = project
Expand Down

This file was deleted.

This file was deleted.

178 changes: 0 additions & 178 deletions packagehub/src/main/scala/com/sourcegraph/packagehub/Package.scala

This file was deleted.

Loading