Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 1.05 KB

README.md

File metadata and controls

24 lines (15 loc) · 1.05 KB

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")