Skip to content

Instantly share code, notes, and snippets.

@jnowland
Created December 7, 2012 10:48
Show Gist options
  • Save jnowland/4232448 to your computer and use it in GitHub Desktop.
Save jnowland/4232448 to your computer and use it in GitHub Desktop.
Config file for working with html and css which can export into a wordpress theme when that phase of the development cycle hits.
#environment = :production
environment = :development
# Set this to the root of your project when deployed.
# Work from file directory "code" for your statics, when the css is ready to go into the wordpress theme switch it over to development
if environment == :production
output_style = :expanded
http_path = "/"
css_dir = "deploy"
sass_dir = "source"
images_dir = "deploy/img"
javascripts_dir = "deploy/js"
else
output_style = :compressed
http_path = "/"
css_dir = "../theme"
sass_dir = "source"
images_dir = "../theme/img"
javascripts_dir = "../theme/js"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment