With the integration of Basic, SASS, and Drupal, we'll be utilizing the Compass module to automatically compile our SASS markup to flat file CSS. Additionally, I will supply you with a basic profile and make file which will allow you to build this environment on your local machine.
What You'll Need
Alternatively, you can checkout an example install profile from my github repository.
git clone email@example.com:stevekrueger/basic_compass_profile.git To use this install profile in a drush make file, create a file named
basic_compass.build and paste in the following code:
; The Jibe Multimedia, Inc. - Basic/Compass Install Profile api = 2 core = 6.x projects = drupal projects[basic_compass][type] = "profile" projects[basic_compass][download][type] = "git" projects[basic_compass][download][url] = "firstname.lastname@example.org:stevekrueger/basic_compass_profile.git"
To execute the build, run:
drush make basic_compass.build If you're looking for step by step instructions on a how to install Compass or SASS/HAML on your machine, I've outlined some reference material in another blog post on a talk I did at the Pacific Northwest Drupal Summit here in Vancouver.