Skip to content
Open
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
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Scala Steward: Reformat with scalafmt 3.7.17
1b4b60efd4b4c50466f0a11d50532656491e178b
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "3.7.4"
version = "3.7.17"

align.preset = none
align.openParenCallSite = false
Expand Down
4 changes: 3 additions & 1 deletion main/src/de/tobiasroeser/mill/vaadin/VaadinModule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ trait VaadinModule extends VaadinModulePlatform {
def millVaadinConfig(prodMode: Task[Boolean]): Task[MillVaadinConfig] = T.task {
val frontend = vaadinFrontend().path
val res = resources().map(_.path)
if (res.size != 1) { T.log.error(s"Not exactly one resource location defined. Using just the first: ${res.headOption.getOrElse("")}") }
if (res.size != 1) {
T.log.error(s"Not exactly one resource location defined. Using just the first: ${res.headOption.getOrElse("")}")
}
val dest = vaadinBuildPath().path
val config = new MillVaadinConfig {
override val compatTargetDir: Path = dest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ class VaadinToolsWorkerImpl() extends VaadinToolsWorker {
BuildFrontendUtil.runFrontendBuild(adapter)
}

def cleanFrontend(config: MillVaadinConfig)(implicit ctx: Ctx): Unit = {

}
def cleanFrontend(config: MillVaadinConfig)(implicit ctx: Ctx): Unit = {}

}
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ trait MillVaadinConfig {
"resourceOutputPath" -> resourceOutputPath,
"resourcePath" -> resourcePath,
"vaadinBuildOutputPath" -> vaadinBuildOutputPath,
"webpackOutPath" -> webpackOutPath,
"webpackOutPath" -> webpackOutPath
).mkString(
s"""${getClass.getSimpleName}(
| """.stripMargin,
Expand Down