Sha256: c398661e6d67c4e250e18c642968a54662b370b5f8a29f7db71a74cf3007b4b8

Contents?: true

Size: 1.31 KB

Versions: 4

Compression:

Stored size: 1.31 KB

Contents

description 'Modularis Compass Gem'

stylesheet '../project/scss/_settings.scss', :to => '_settings.scss'
stylesheet '../project/scss/app.scss', :to => 'app.scss'
stylesheet '../../scss/normalize.scss', :to => 'normalize.scss', :media => "screen, projector, print"

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", "modularis", ["index.js"])
copy_js_from("../../js", "vendor")

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

help %Q{

If you need help, email us at modularis@themepile.com or visit modularis.themepile.com"

}

welcome_message %Q{

bundle exec compass install -r themepile-modularis modularis/upgrade

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

}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
modularis-0.1 templates/upgrade/manifest.rb
modularis-0.0.3 templates/upgrade/manifest.rb
modularis-0.0.2 templates/upgrade/manifest.rb
modularis-0.0.1 templates/upgrade/manifest.rb