summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTyler Ward2013-01-16 23:04:41 (GMT)
committer Tyler Ward2013-01-16 23:04:41 (GMT)
commitcfc4e038a1401183ff0d50566eaa5bc6cca3307e (patch)
tree243cadeb8b8cf8be9fe8078fdc1fae6ca9b12d38
parent543423b658de0efc580bdc8a364df6d5ea232ba6 (diff)
drush bp command confirms SASS
Using a drush_confirm() the bp command now asks if a user will be implementing SASS. If so, a modification to the theme's .info file is done, to direct drupal to look for css/compiled/style.css.
-rw-r--r--boilerplate.drush.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/boilerplate.drush.inc b/boilerplate.drush.inc
index e66c220..3867e0c 100644
--- a/boilerplate.drush.inc
+++ b/boilerplate.drush.inc
@@ -106,6 +106,9 @@ function drush_boilerplate($name = NULL, $machine_name = NULL) {
'version = "1.0"' => '',
'project = "Boilerplate"' => ''
);
+ if(drush_confirm('Will you be using SASS?')) {
+ $alterations['css/style.css'] = 'css/compiled/style.css';
+ }
if ($description = drush_get_option('description')) {
$alterations['Metaltoad HTML5/SASS base theme for Drupal 7'] = $description;
}