Class: Compass::Commands::UpdateProject
- Inherits:
-
ProjectBase
- Object
- Base
- ProjectBase
- Compass::Commands::UpdateProject
- Defined in:
- lib/compass/commands/update_project.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from ProjectBase
Attributes inherited from Base
Attributes included from Actions
Instance Method Summary collapse
-
#initialize(working_path, options) ⇒ UpdateProject
constructor
A new instance of UpdateProject.
- #perform ⇒ Object
Methods included from Actions
#basename, #compile, #copy, #directory, #relativize, #separate, #strip_trailing_separator, #write_file
Constructor Details
#initialize(working_path, options) ⇒ UpdateProject
Returns a new instance of UpdateProject.
8 9 10 11 |
# File 'lib/compass/commands/update_project.rb', line 8 def initialize(working_path, ) super assert_project_directory_exists! end |
Instance Method Details
#perform ⇒ Object
13 14 15 16 17 18 19 20 21 |
# File 'lib/compass/commands/update_project.rb', line 13 def perform read_project_configuration Compass.configuration.set_maybe() Compass.configuration.set_defaults! Compass::Compiler.new(working_path, projectize(Compass.configuration.sass_dir), projectize(Compass.configuration.css_dir), Compass.).run end |