reikje / sbt-planout4j   0.0.2

GitHub

SBT plug-in which compiles planout4j yaml files

Scala versions: 2.10
sbt plugins: 0.13

sbt-planout4j

An sbt plug-in which compiles Planout4j yaml files to Planout language files.

Installation

Add the plugin to your sbt build.

addSbtPlugin("me.rschatz" % "sbt-planout4j" % "0.0.2")

Usage

Put your Planout4j namespace yaml files in src/main/planout4j. The location can be altered by overwriting the planout4jYamlSourceFolder Setting in your build, i.e.

planout4jYamlSourceFolder := new File("/tmp/in") 

The plugin will add a Resource Generator to the build and Planout language files (json) will be generated as part of the managedResources Task in target/scala-*/resource_managed/main/planout. The output location can be changed by overwriting the planoutOutputFolder Setting in your build, i.e.

planoutOutputFolder := new File("/tmp/out")