Sha256: 0caea17349bb00b305e40d67c0efe655f6096a15138e8e490e9f30dad2764e9f
Contents?: true
Size: 715 Bytes
Versions: 13
Compression:
Stored size: 715 Bytes
Contents
# =========================================================================== # SC::Target Buildtasks # copyright 2008, Sprout Systems, Inc. and Apple, Inc. all rights reserved # =========================================================================== # Tasks invoked to actually render a single HTML file. Works much like a # build task but also expects a CONTEXT variable that contains the html # context. namespace :render do desc "renders erubis including .rhtml and .html.erb files" task :erubis do CONTEXT.compile SC::RenderEngine::Erubis.new(CONTEXT), SRC_PATH end desc "renders haml files" task :haml do CONTEXT.compile SC::RenderEngine::Haml.new(CONTEXT), SRC_PATH end end
Version data entries
13 entries across 13 versions & 1 rubygems