From ff40abbbbc73661f4696296b57f3c089dfb0d237 Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Mon, 5 Dec 2011 14:34:09 -0800 Subject: [PATCH] Format comment --- Rakefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Rakefile b/Rakefile index 3dd5750..cc2830e 100644 --- a/Rakefile +++ b/Rakefile @@ -16,11 +16,10 @@ def version File.read("mustache.js").match('version: "([^\"]+)",$')[1] end +# Creates a rule that uses the .tmpl.{pre,post} stuff to make a final, +# wrapped, output file. There is some extra complexity because Dojo and YUI3 +# use different template files and final locations. def templated_build(name, opts={}) - # Create a rule that uses the .tmpl.{pre,post} stuff to make a final, - # wrapped, output file. - # There is some extra complexity because Dojo and YUI3 use different - # template files and final locations. short = name.downcase source = "mustache-#{short}" dependencies = ["mustache.js"] + Dir.glob("#{source}/*.tpl.*")