Sha256: 28ff52b7254dc1b1152ca32ab52d533490181eec17b5ed15001b03e9bb8e92ae

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

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

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

help %Q{

If you need help, email us at abstractio@themepile.co.uk or visit abstractio.themepile.co.uk"

}

welcome_message %Q{

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

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

}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
themepile-abstractio-4.1.7 templates/upgrade/manifest.rb