Created
August 2, 2010 12:24
-
-
Save mads-hartmann/504558 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object MyOtherTemplate extends Template with Create { | |
def name = "goodbye" | |
def description = "Creates a file with a greeting and farewell in it" | |
def arguments = Argument("word") :: Nil | |
def files = Nil | |
override def dependencies = MyTemplate :: Nil | |
val path = "%s/farewell_injection.ssp".format(GlobalConfiguration.rootResources) | |
injectContentsOfFile(path) into("greetings.ssp") at("farewell") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment