mirror of https://github.com/sbt/sbt.git
commit
8b6ccd61db
|
|
@ -69,7 +69,7 @@ class FileCommands(baseDirectory: File) extends BasicStatementHandler {
|
||||||
val pathA = fromString(a)
|
val pathA = fromString(a)
|
||||||
val pathB = fromString(b)
|
val pathB = fromString(b)
|
||||||
val isNewer = pathA.exists &&
|
val isNewer = pathA.exists &&
|
||||||
(!pathB.exists || IO.getModifiedTime(pathA) > IO.getModifiedTime(pathB))
|
(!pathB.exists || IO.getModifiedTime(pathA) > IO.getModifiedTime(pathB))
|
||||||
if (!isNewer) {
|
if (!isNewer) {
|
||||||
scriptError(s"$pathA is not newer than $pathB")
|
scriptError(s"$pathA is not newer than $pathB")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,2 @@
|
||||||
addSbtPlugin("org.scala-sbt" % "sbt-houserules" % "0.3.3")
|
addSbtPlugin("org.scala-sbt" % "sbt-houserules" % "0.3.4")
|
||||||
addSbtPlugin("org.scala-sbt" % "sbt-contraband" % "0.3.0")
|
addSbtPlugin("org.scala-sbt" % "sbt-contraband" % "0.3.2")
|
||||||
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.17")
|
|
||||||
addSbtPlugin("com.lucidchart" % "sbt-scalafmt" % "1.14")
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue