Skip to content

Instantly share code, notes, and snippets.

@tgecho
Created December 9, 2011 18:02
Show Gist options
  • Save tgecho/1452629 to your computer and use it in GitHub Desktop.
Save tgecho/1452629 to your computer and use it in GitHub Desktop.
Add all static/sass under all installed python packages to compass import paths
pythonpath = eval(`python -c 'import sys; print sys.path'`)
additional_import_paths = []
for path in pythonpath
path << '/*/static/sass'
for dir in Dir.glob(path)
additional_import_paths << dir
end
end
puts 'additional_import_paths: ', additional_import_paths
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment