Sha256: 15c44afd60d3e355487efd210c9cd8054f5b25de5beb802fd61c3ac5e9ce7fc6

Contents?: true

Size: 1.21 KB

Versions: 7

Compression:

Stored size: 1.21 KB

Contents

description 'Foundation Compass Gem'

stylesheet '../../scss/normalize.scss',                   :to => '_normalize.scss'
stylesheet '../../scss/foundation/_variables.scss',       :to => '_settings.scss'

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

javascripts = copy_js_from("../../js", "foundation", ["index.js"])
copy_js_from("../../js", "vendor")

html '../project/index.html', :erb => true, :javascripts => javascripts, :version => Foundation::VERSION, :to => 'upgrade.html'

help %Q{

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

}

welcome_message %Q{

bundle exec compass install -r zurb-foundation foundation/upgrade

Your project assets have been upgraded, w00t!  It's possible there have been additional customizable settings added to Foundation so you should check out http://foundation.zurb.com/docs/gem-install.php#settings.

}

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
rootbeer-0.0.4 templates/upgrade/manifest.rb
rootbeer-0.0.2 templates/upgrade/manifest.rb
zurb-foundation-4.3.2 templates/upgrade/manifest.rb
zurb-foundation-4.3.1 templates/upgrade/manifest.rb
zurb-foundation-4.3.0 templates/upgrade/manifest.rb
zurb-foundation-4.2.3 templates/upgrade/manifest.rb
zurb-foundation-4.2.2 templates/upgrade/manifest.rb