src/main/scala/s3/website/model/ssg.scala in s3_website-2.11.2 vs src/main/scala/s3/website/model/ssg.scala in s3_website-2.12.1

- old
+ new

@@ -7,11 +7,11 @@ trait Ssg { def outputDirectory: String } object Ssg { - val automaticallySupportedSiteGenerators = Jekyll :: Nanoc :: Nil + val automaticallySupportedSiteGenerators = Jekyll :: Nanoc :: Middleman :: Nil def autodetectSiteDir(workingDirectory: File): Option[File] = recursiveListFiles(workingDirectory).find { file => file.isDirectory && automaticallySupportedSiteGenerators.exists(ssg => file.getAbsolutePath.endsWith(ssg.outputDirectory)) } @@ -21,6 +21,10 @@ def outputDirectory = "_site" } case object Nanoc extends Ssg { def outputDirectory = s"public${File.separatorChar}output" -} \ No newline at end of file +} + +case object Middleman extends Ssg { + def outputDirectory = "build" +}