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

Version Path
sproutit-sproutcore-1.0.0.20090407205609 buildtasks/render.rake
sproutit-sproutcore-1.0.0.20090408130025 buildtasks/render.rake
sproutit-sproutcore-1.0.0.20090416161445 buildtasks/render.rake
sproutit-sproutcore-1.0.0.20090720093355 buildtasks/render.rake
sproutit-sproutcore-1.0.0.20090720202429 buildtasks/render.rake
sproutit-sproutcore-1.0.0.20090721125122 buildtasks/render.rake
sproutit-sproutcore-1.0.126 buildtasks/render.rake
sproutit-sproutcore-1.0.20090721145236 buildtasks/render.rake
sproutit-sproutcore-1.0.20090721145251 buildtasks/render.rake
sproutit-sproutcore-1.0.20090721145280 buildtasks/render.rake
sproutit-sproutcore-1.0.20090721145281 buildtasks/render.rake
sproutit-sproutcore-1.0.20090721145282 buildtasks/render.rake
sproutit-sproutcore-1.0.203 buildtasks/render.rake