Sha256: 745e23d67cf7dc05517b18887896dd2e1f4f64afe5401567b4c1652435c5a631

Contents?: true

Size: 683 Bytes

Versions: 10

Compression:

Stored size: 683 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
        compiler = Compass::Compiler.new(working_path,
          projectize(Compass.configuration.sass_dir),
          projectize(Compass.configuration.css_dir),
          Compass.sass_engine_options.merge(:quiet => options[:quiet],
                                            :force => options[:force]))
        compiler.run
      end

    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
chriseppstein-compass-0.6.10 lib/compass/commands/update_project.rb
chriseppstein-compass-0.6.11 lib/compass/commands/update_project.rb
chriseppstein-compass-0.6.12 lib/compass/commands/update_project.rb
chriseppstein-compass-0.6.13 lib/compass/commands/update_project.rb
chriseppstein-compass-0.6.14 lib/compass/commands/update_project.rb
chriseppstein-compass-0.6.15 lib/compass/commands/update_project.rb
chriseppstein-compass-0.6.6 lib/compass/commands/update_project.rb
chriseppstein-compass-0.6.7 lib/compass/commands/update_project.rb
chriseppstein-compass-0.6.8 lib/compass/commands/update_project.rb
chriseppstein-compass-0.6.9 lib/compass/commands/update_project.rb