description 'Modularis Compass Gem' # Sass Files stylesheet '../../scss/modularis/_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. 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", "modularis", ["modularis.js", "index.js"]) vendor_javascripts = copy_js_from("../../js", "vendor") javascript "../../js/modularis/modularis.js", :to => "modularis/modularis.js" html 'index.html', :erb => true, :javascripts => javascripts, :version => Modularis::VERSION help %Q{ If you need help, email us at modularis@themepile.com or visit modularis.themepile.com" } welcome_message %Q{ } # file 'config.rb' # no_configuration_file!