All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gems.compass-core-1.0.3.templates.extension.manifest.rb Maven / Gradle / Ivy

There is a newer version: 3.7.2
Show newest version
description "Generate a compass extension."

unless options.include?(:preferred_syntax)
  options[:preferred_syntax] = 'sass'
end

file 'templates/project/manifest.rb'
file "stylesheets/main.sass", :to => "stylesheets/_#{File.basename(options[:pattern_name]||options[:project_name]||'main')}.#{options[:preferred_syntax]}"

file "templates/project/screen.sass", :to => "templates/project/screen.#{options[:preferred_syntax]}"


help %Q{
  To generate a compass extension:
  compass create my_extension --using compass/extension
}

welcome_message %Q{
For a full tutorial on how to build your own extension see:

http://compass-style.org/help/tutorials/extensions/

}, :replace => true

no_configuration_file!
skip_compilation!




© 2015 - 2025 Weber Informatics LLC | Privacy Policy