Sha256: 21e942ef5cc85aa4eefa591c98936aedb2f2aab9a8478f3ef597ece4d4966e93

Contents?: true

Size: 991 Bytes

Versions: 12

Compression:

Stored size: 991 Bytes

Contents

###
# Ember settings
###

activate :ember

# Methods defined in the helpers block are available in templates
# helpers do
#   def some_helper
#     "Helping"
#   end
# end

<% if options[:css_dir] -%>
set :css_dir, '<%= options[:css_dir] -%>'
<% else -%>
# Change the CSS directory
# set :css_dir, "alternative_css_directory"
<% end -%>

<% if options[:js_dir] -%>
set :js_dir, '<%= options[:js_dir] -%>'
<% else -%>
# Change the JS directory
# set :js_dir, "alternative_js_directory"
<% end -%>

<% if options[:images_dir] -%>
set :images_dir, '<%= options[:images_dir] -%>'
<% else -%>
# Change the images directory
# set :images_dir, "alternative_image_directory"
<% end -%>

# Build-specific configuration
configure :build do
  # For example, change the Compass output style for deployment
  # activate :minify_css

  # Minify Javascript on build
  # activate :minify_javascript

  # Use relative URLs-
  # activate :relative_assets

  # Enable cache buster
  # activate :asset_hash
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ember-middleman-0.0.18 lib/ember/middleman/templates/config.tt
ember-middleman-0.0.17 lib/ember/middleman/templates/config.tt
ember-middleman-0.0.16 lib/ember/middleman/templates/config.tt
ember-middleman-0.0.15 lib/ember/middleman/templates/config.tt
ember-middleman-0.0.14 lib/ember/middleman/templates/config.tt
ember-middleman-0.0.13 lib/ember/middleman/templates/config.tt
ember-middleman-0.0.12 lib/ember/middleman/templates/config.tt
ember-middleman-0.0.11 lib/ember/middleman/templates/config.tt
ember-middleman-0.0.10 lib/ember/middleman/templates/config.tt
ember-middleman-0.0.9 lib/ember/middleman/templates/config.tt
ember-middleman-0.0.8 lib/ember/middleman/templates/config.tt
ember-middleman-0.0.7 lib/ember/middleman/templates/config.tt