Sha256: c3f312a69411b6ad3a59ed1ef3af88d65eb126376408ca6a08c986f09d035e25

Contents?: true

Size: 611 Bytes

Versions: 3

Compression:

Stored size: 611 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
        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

3 entries across 3 versions & 1 rubygems

Version Path
chriseppstein-compass-0.6.0 lib/compass/commands/update_project.rb
chriseppstein-compass-0.6.1 lib/compass/commands/update_project.rb
chriseppstein-compass-0.6.2 lib/compass/commands/update_project.rb