Class: Soca::Plugins::Compass
- Inherits:
-
Soca::Plugin
- Object
- Soca::Plugin
- Soca::Plugins::Compass
- Defined in:
- lib/soca/plugins/compass.rb
Instance Attribute Summary
Attributes inherited from Soca::Plugin
Instance Method Summary collapse
Methods inherited from Soca::Plugin
#app_dir, #config, #initialize, #logger, name, plugins
Constructor Details
This class inherits a constructor from Soca::Plugin
Instance Method Details
#before_build ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/soca/plugins/compass.rb', line 11 def before_build Soca.logger.info "compiling compass" unless Soca.debug = {:logger => ::Compass::NullLogger.new}.merge(self.) end compass = ::Compass::Compiler.new(app_dir, compass_from, compass_to, ::Compass..merge( || {})) Soca.logger.debug "compass: #{compass.inspect}" compass.run end |