Sha256: dd865db24f1bddd1a19e81b6abcaa8edc5f6ec31493f5594b737572061811b97

Contents?: true

Size: 727 Bytes

Versions: 60

Compression:

Stored size: 727 Bytes

Contents

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!

Version data entries

60 entries across 59 versions & 8 rubygems

Version Path
compass-0.12.3 frameworks/compass/templates/extension/manifest.rb
compass-core-1.0.0.alpha.17 templates/extension/manifest.rb
compass-core-1.0.0.alpha.16 templates/extension/manifest.rb
compass-core-1.0.0.alpha.15 templates/extension/manifest.rb
compass-core-1.0.0.alpha.14 templates/extension/manifest.rb
compass-core-1.0.0.alpha.13 templates/extension/manifest.rb
compass-0.13.alpha.12 frameworks/compass/templates/extension/manifest.rb
compass-0.13.alpha.10 frameworks/compass/templates/extension/manifest.rb
compass-0.13.alpha.9 frameworks/compass/templates/extension/manifest.rb
compass-0.13.alpha.8 frameworks/compass/templates/extension/manifest.rb
compass-0.13.alpha.7 frameworks/compass/templates/extension/manifest.rb
compass-0.13.alpha.6 frameworks/compass/templates/extension/manifest.rb
compass-0.13.alpha.5 frameworks/compass/templates/extension/manifest.rb
compass-sourcemaps-0.12.4.sourcemaps.a4836f1 frameworks/compass/templates/extension/manifest.rb
compass-0.13.alpha.4 frameworks/compass/templates/extension/manifest.rb
compass-0.13.alpha.3 frameworks/compass/templates/extension/manifest.rb
compass-0.13.alpha.2 frameworks/compass/templates/extension/manifest.rb
compass-0.12.2 frameworks/compass/templates/extension/manifest.rb
compass-0.12.2.rc.1 frameworks/compass/templates/extension/manifest.rb
compass-0.12.2.rc.0 frameworks/compass/templates/extension/manifest.rb