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

Version Path
sproutit-sproutcore-1.0.20090721145285 buildtasks/render.rake
sproutcore-1.0.1046 buildtasks/render.rake
sproutcore-1.0.1043 buildtasks/render.rake
sproutcore-1.0.1042 buildtasks/render.rake
sproutcore-1.0.1037 buildtasks/render.rake
sproutcore-1.0.1035 buildtasks/render.rake
sproutcore-1.0.1031 buildtasks/render.rake
sproutcore-1.0.1030 buildtasks/render.rake
sproutcore-1.0.1029 buildtasks/render.rake
sproutcore-1.0.1027 buildtasks/render.rake
sproutcore-1.0.1028 buildtasks/render.rake
sproutcore-1.0.1026 buildtasks/render.rake
sproutcore-1.0.1025 buildtasks/render.rake
sproutcore-1.0.1024 buildtasks/render.rake
sproutcore-1.0.1009 buildtasks/render.rake
sproutcore-1.0.1008 buildtasks/render.rake
sproutcore-1.0.1003 buildtasks/render.rake