Sha256: aad5d11d0a0077f3bc7613e056c60fb6fe87cd20700bbf14396c5859250040b3

Contents?: true

Size: 1.61 KB

Versions: 1

Compression:

Stored size: 1.61 KB

Contents

description 'Foundation Compass Gem'

# Sass Files
stylesheet 'scss/_settings.scss',                         :to => '_settings.scss'
stylesheet 'scss/app.scss',                               :to => 'app.scss', :media => "screen, projector, print"

# Make sure you list all the project template files here in the manifest.
html 'index.html', :erb => true # use Foundation::VERSION
file 'humans.txt'
file 'robots.txt'
file 'MIT-LICENSE.txt'

# Images exist in non-standard location so they will play nicely with
# Rails asset-pipeline.  So this method allows us to copy images from
# outside the compass template
def copy_images_from(relative_path, prefix_path)
  absolute_path = File.join(File.dirname(__FILE__), relative_path, prefix_path)
  Dir.glob("#{absolute_path}/*.*") do |img|
    image "#{relative_path}/#{prefix_path}/#{File.basename(img)}", 
      :to => "#{prefix_path}/#{File.basename(img)}"
  end
end

def copy_js_from(relative_path, prefix_path, excludes=[])
  absolute_path = File.join(File.dirname(__FILE__), relative_path, prefix_path)
  js_files = Dir.glob("#{absolute_path}/*.js")
  js_files.reject! {|f| excludes.include? File.basename(f)}
  js_files.each do |js|
    javascript "#{relative_path}/#{prefix_path}/#{File.basename(js)}", 
      :to => "#{prefix_path}/#{File.basename(js)}"
  end
end

copy_images_from("../../vendor/assets/images", "foundation/orbit")
copy_js_from("../../vendor/assets/javascripts", "foundation", ["index.js"])

help %Q{

If you need help, email us at foundation@zurb.com or visit foundation.zurb.com"

}

welcome_message %Q{

w00t! You're using ZURB Foundation, now go forth and rock 'n roll!

}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zurb-foundation-3.0.8.rc1 templates/project/manifest.rb