
bleep.commands.BuildNormalize.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bleep-cli_2.13 Show documentation
Show all versions of bleep-cli_2.13 Show documentation
A bleeping fast scala build tool!
package bleep
package commands
import bleep.internal.writeYamlLogged
import bleep.rewrites.normalizeBuild
object BuildNormalize extends BleepBuildCommand {
override def run(started: Started): Either[BleepException, Unit] = {
val build = started.build.requireFileBacked(ctx = "command normalize")
val build1 = normalizeBuild(build, started.buildPaths)
Right(writeYamlLogged(started.logger, "Wrote update build", build1.file, started.buildPaths.bleepYamlFile))
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy