Responsive Theming for Drupal by Mike Crittenden

Responsive Theming for Drupal by Mike Crittenden

Author:Mike Crittenden
Language: eng
Format: epub
ISBN: 9781449373313
Publisher: O’Reilly Media, Inc.
Published: 2014-03-26T16:00:00+00:00


Committin’ and Quittin’ Time

So you’ve done a solid day’s theming, and you have a newfound love of Sass and Compass. Oh joy! Now you’re ready to commit your changes to version control. (You are using version control, right?)

There’s a bit of a debate on whether you should commit the compiled CSS to your repository or have it auto-generate on the server instead. Both approaches have their pros and cons.

If you decide to commit your generated CSS, you don’t have to worry about adding a server-side build to compile it for you. On the other hand, if you only commit your Sass, you can rest assured that there is one final source of truth in the CSS (i.e., whatever the server itself compiles) rather than whatever each developer’s (assuming it’s a multiperson dev team) Compass version decides to spit out (thus saving yourself some possible merge conflicts).

Whatever you decide, make sure that your entire team is on the same page about it.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.