Sha256: 7b8d51eecfa603ff386d90f35e1afb2c42d7b9a661424a41412df8b3b0819a0c
Contents?: true
Size: 1.65 KB
Versions: 7
Compression:
Stored size: 1.65 KB
Contents
description 'Foundation Compass Gem' # Sass Files stylesheet 'scss/_settings.scss', :to => '_settings.scss' stylesheet 'scss/normalize.scss', :to => 'normalize.scss', :media => "screen, projector, print" stylesheet 'scss/app.scss', :to => 'app.scss', :media => "screen, projector, print" # Make sure you list all the project template files here in the manifest. file 'humans.txt' file 'robots.txt' file 'MIT-LICENSE.txt' 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 return js_files.map {|f| "#{prefix_path}/#{File.basename(f)}"} end javascripts = copy_js_from("../../js", "foundation", ["foundation.js", "index.js"]) vendor_javascripts = copy_js_from("../../js", "vendor") javascript "../../js/foundation/foundation.js", :to => "foundation/foundation.js" # javascripts.reject! do |f| # [ # "jquery.js", # "modernizr.foundation.js", # "app.js", # "jquery.offcanvas.js" # ].include?(File.basename(f)) # end html 'index.html', :erb => true, :javascripts => javascripts, :version => Foundation::VERSION 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! } # file 'config.rb' # no_configuration_file!
Version data entries
7 entries across 7 versions & 1 rubygems