Skip to content

Commit

Permalink
continue trying to fix compass issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tdreyno committed Feb 8, 2012
1 parent 79eeba9 commit cdff84b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions middleman-more/lib/middleman-more/core_extensions/compass.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ def registered(app)
end
end

# if build?
# ::Compass.configuration do |config|
# config.environment = :production
# end
# end
if build?
::Compass.configuration do |config|
config.environment = :production
config.project_path = File.join(root, build_dir)
end
end

run_hook :compass_config, ::Compass.configuration
run_hook :after_compass_config
Expand Down

0 comments on commit cdff84b

Please sign in to comment.