Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Commit

Permalink
Fix breakpoints rename, add more files and directories to slim
Browse files Browse the repository at this point in the history
  • Loading branch information
ccjjmartin committed Aug 18, 2017
1 parent 782a9a9 commit bbf63cf
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions emulsify.drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,11 @@ function _emulsify_get_directories_to_make() {
'components/_patterns/03-organisms',
'components/_patterns/04-templates',
'components/_patterns/05-pages',
'fonts',
'images',
'images/icons',
'images/icons/src',
'templates',
);
}
else {
Expand Down Expand Up @@ -272,7 +277,9 @@ function _emulsify_get_files_to_copy() {
'components/_twig-components',
'components/css',
'components/images',
'components/_patterns/style.scss',
'components/_patterns/00-base/global/01-colors',
'components/_patterns/00-base/global/global.js',
));
}
else {
Expand All @@ -298,16 +305,15 @@ function _emulsify_get_files_to_rename() {
$default_array = array(
'emulsify.info.yml',
'emulsify.theme',
'emulsify.breakpoints.yml',
'emulsify.libraries.yml',
);
// If we would like to have a bare copy we use is slim option.
if (drush_get_option('slim') === TRUE) {
return $default_array;
return array_merge($default_array, array());
}
else {
return array_merge($default_array, array(
'emulsify.breakpoints.yml',
'emulsify.libraries.yml',
));
return array_merge($default_array, array());
}
}

Expand Down

0 comments on commit bbf63cf

Please sign in to comment.