Sha256: 6c8ac030ad8ac95d77b3662ae538d0eb40dbe8d0cac62a88aaca845558cd911c
Contents?: true
Size: 714 Bytes
Versions: 17
Compression:
Stored size: 714 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
17 entries across 17 versions & 2 rubygems