Sha256: df3820b8696c898c36872a545a188d4cdeae586325be91919dae8f20608cb398
Contents?: true
Size: 631 Bytes
Versions: 13
Compression:
Stored size: 631 Bytes
Contents
class Middleman::Templates::Default < Middleman::Templates::Base def self.source_root File.join(File.dirname(__FILE__), 'default') end def build_scaffold template "config.tt", File.join(location, "config.rb") template "config.ru", File.join(location, "config.ru") directory "source", File.join(location, "source") empty_directory File.join(location, "source", options[:css_dir]) empty_directory File.join(location, "source", options[:js_dir]) empty_directory File.join(location, "source", options[:images_dir]) end end Middleman::Templates.register(:default, Middleman::Templates::Default)
Version data entries
13 entries across 13 versions & 1 rubygems