Skip to content

sbt/sbt-fmpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbt-fmpp

SBT plugin to generate scala/java code using FreeMarker template.

Processing is done using FMPP.

Usage

Adding the plugin:

addSbtPlugin("com.github.sbt" %% "sbt-fmpp" % "0.4.0")

Enable the plugin in your build:

import fmpp.FmppPlugin._

object build extends Build {
  lazy val root = Project("main", file("."), settings = Defaults.defaultSettings ++ fmppSettings).configs(Fmpp)
}

Once activated place your '.fm' templates in src/main/scala or src/main/java and that's all!

Contribution Policy

Contributions via GitHub pull requests are gladly accepted from their original author. Along with any pull requests, please state that the contribution is your original work and that you license the work to the project under the project's open source license. Whether or not you state this explicitly, by submitting any copyrighted material via pull request, email, or other means you agree to license the material under the project's open source license and warrant that you have the legal authority to do so.

About

FreeMarker Scala/Java Templating Plugin for SBT

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages