summaryrefslogtreecommitdiff
path: root/build.sc
diff options
context:
space:
mode:
authorGuillaume Grossetie <g.grossetie@gmail.com>2018-05-24 12:19:29 +0200
committerNikolay Tatarinov <5min4eq.unity@gmail.com>2018-05-24 13:19:29 +0300
commit02436b4000cc16683984244ca272b93c1ff015c7 (patch)
tree0fa431c28f31cc58fd513b5aa89c17fe4108607d /build.sc
parentab2a8b3b9eddbdc4212e6f0e2a4a0adea1f3caee (diff)
downloadmill-02436b4000cc16683984244ca272b93c1ff015c7.tar.gz
mill-02436b4000cc16683984244ca272b93c1ff015c7.tar.bz2
mill-02436b4000cc16683984244ca272b93c1ff015c7.zip
Add a TwirlModule to compile Twirl templates (#271)
* initial implementation * Upgrade to the latest version * Add tests * Update the code to comply with the new API * Use reflection to call TwirlCompiler.compile function * Run twirllib.test on CI * Use the Java API as a workaround * wip * Cleanup the code (code review) * Add an example to call the Scala API * twirl that works with scala API * Create functions to override the default settings (will be available in the future)
Diffstat (limited to 'build.sc')
-rwxr-xr-xbuild.sc6
1 files changed, 6 insertions, 0 deletions
diff --git a/build.sc b/build.sc
index 86ef2d00..ac6c2ea9 100755
--- a/build.sc
+++ b/build.sc
@@ -196,6 +196,12 @@ object scalajslib extends MillModule {
}
}
+object twirllib extends MillModule {
+
+ def moduleDeps = Seq(scalalib)
+
+}
+
def testRepos = T{
Seq(
"MILL_ACYCLIC_REPO" ->