diff --git a/autotest/discover.rb b/autotest/discover.rb index d02f3b31..ee7f82c5 100644 --- a/autotest/discover.rb +++ b/autotest/discover.rb @@ -2,3 +2,4 @@ Autotest.add_discovery { 'rspec2' } + diff --git a/frameworks/compass/templates/extension/manifest.rb b/frameworks/compass/templates/extension/manifest.rb index 4a6588da..96fc235c 100644 --- a/frameworks/compass/templates/extension/manifest.rb +++ b/frameworks/compass/templates/extension/manifest.rb @@ -1,8 +1,14 @@ description "Generate a compass extension." -file 'stylesheets/main.sass', :to => "stylesheets/_#{File.basename(options[:pattern_name]||options[:project_name]||'main')}.sass" +unless options.include?(:preferred_syntax) + options[:preferred_syntax] = 'sass' +end + file 'templates/project/manifest.rb' -file 'templates/project/screen.sass' +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: