lib/rake/funnel/tasks/quick_template.rb in rake-funnel-0.22.1 vs lib/rake/funnel/tasks/quick_template.rb in rake-funnel-0.22.2
- old
+ new
@@ -28,10 +28,10 @@
task(name, *args) do |_, task_args|
yield(*[self, task_args].slice(0, task_block.arity)) if task_block
templates.all_or_default.each do |template|
target = result_filename(template)
- Rake.rake_output_message "Creating file #{target}"
+ $stderr.print "Creating file #{target}\n"
content = TemplateEngine.render(File.read(template), template, context)
File.write(target, content)
end
end