Sha256: 4b7153d7f7f923ca97c3d565f53d37c93ea4bdc455c9d2f2edc2781973fa8681

Contents?: true

Size: 739 Bytes

Versions: 11

Compression:

Stored size: 739 Bytes

Contents

require File.join(File.dirname(__FILE__), 'project_base')
require File.join(Compass.lib_directory, 'compass', 'compiler')

module Compass
  module Commands
    class UpdateProject < ProjectBase
      
      def initialize(working_path, options)
        super
        assert_project_directory_exists!
      end

      def perform
        read_project_configuration
        Compass.configuration.set_maybe(options)
        Compass.configuration.set_defaults!
        Compass::Compiler.new(working_path,
                              projectize(Compass.configuration.sass_dir),
                              projectize(Compass.configuration.css_dir),
                              Compass.sass_engine_options).run
      end

    end
  end
end

Version data entries

11 entries across 11 versions & 4 rubygems

Version Path
bsherman-compass-0.5.2 lib/compass/commands/update_project.rb
chriseppstein-compass-0.5.0 lib/compass/commands/update_project.rb
chriseppstein-compass-0.5.1 lib/compass/commands/update_project.rb
chriseppstein-compass-0.5.2 lib/compass/commands/update_project.rb
chriseppstein-compass-0.5.3 lib/compass/commands/update_project.rb
chriseppstein-compass-0.5.4 lib/compass/commands/update_project.rb
chriseppstein-compass-0.5.5 lib/compass/commands/update_project.rb
chriseppstein-compass-0.5.9 lib/compass/commands/update_project.rb
jwhitmire-compass-0.5.1.1 lib/compass/commands/update_project.rb
jwhitmire-compass-0.5.1.2 lib/compass/commands/update_project.rb
merbjedi-compass-0.5.0 lib/compass/commands/update_project.rb