Permalink
Browse files

Fix all deprecation warnings

  • Loading branch information...
1 parent 217aca8 commit 283bfd8c67fac62dd7a3b230b4485da4d709d76b @indirect indirect committed Aug 3, 2010
@@ -1,8 +1,7 @@
-ROOT = File.join(File.dirname(__FILE__), '/')
-puts "Site root is: " + File.expand_path(ROOT)
+site_path = File.expand_path("../../", __FILE__)
output_style = :expanded
-project_path = ROOT # must be set for Compass to work
+project_path = site_path # must be set for Compass to work
sass_dir = "src/stylesheets" # dir containing Sass / Compass source files
http_path = "/" # root when deployed
css_dir = "site/stylesheets" # final CSS
@@ -1,26 +1,24 @@
-$:.push Dir.pwd
$:.push File.join(Dir.pwd, "lib")
-
require 'compass'
require 'haml_filters'
# Parse the Compass config
-Compass.add_project_configuration('config.rb')
-
+Compass.add_project_configuration('config/compass.rb')
+
# Default is 3000
configuration.preview_server_port = 3000
-
+
# Default is localhost
configuration.preview_server_host = "localhost"
-
+
# Default is true
# When false .html & index.html get stripped off generated urls
configuration.use_extensions_for_page_links = true
-
+
# Default is an empty hash
# We use Compass's config
configuration.sass_options = Compass.sass_engine_options
-
+
# Default is an empty hash
# http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html#options
configuration.haml_options = {
File renamed without changes.

0 comments on commit 283bfd8

Please sign in to comment.