I'm on holiday but some time soon I plan to start work on some JSR 223 enhancements to sbt-boilerplate. If necessary I'll maintain it as a separate fork.
Enhancement 1:
Parse the region between [ and # and evaluate it as a Scala Range. Use the expression to produce boilerplate.
Enhancement 2:
Create an environment containing global environment variables like maxArity
Enhancement 3:
Allow arbitrary Scala expressions in templates. Any -> String probably.
As a side effect the expression might alter the global environment like setting new maxArity etc.
@jrudolph: Any thoughts? Preferences? Is this a terrible idea?
I'm on holiday but some time soon I plan to start work on some JSR 223 enhancements to sbt-boilerplate. If necessary I'll maintain it as a separate fork.
Enhancement 1:
Parse the region between
[
and#
and evaluate it as a ScalaRange
. Use the expression to produce boilerplate.Enhancement 2:
Create an environment containing global environment variables like
maxArity
Enhancement 3:
Allow arbitrary Scala expressions in templates.
Any -> String
probably.As a side effect the expression might alter the global environment like setting new maxArity etc.
@jrudolph: Any thoughts? Preferences? Is this a terrible idea?