Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(filenames): updated component .scss names to match conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBurleson committed Dec 11, 2014
1 parent d9c13d9 commit 629b753
Show file tree
Hide file tree
Showing 26 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions docs/guides/PULL_REQUESTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ Before you submit your pull request consider the following guidelines:
and ensure that all tests pass.

* Commit your changes using a descriptive commit message that follows our
[commit message conventions](CONTRIBUTING.md#commit-message-format) and passes our commit message
presubmit hook `validate-commit-msg.js`.<br/>
Adherence to the [commit message conventions](CONTRIBUTING.md#commit-message-format) is required
[commit message conventions](CONTRIBUTING.md#commit-message-format). Adherence to the [commit message conventions](CONTRIBUTING.md#commit-message-format) is required
because release notes are automatically generated from these messages.

```shell
Expand Down
3 changes: 2 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,8 @@ gulp.task('build-themes', ['build-default-theme'], function() {
var stream = mergeStream();
var themes = glob('themes/**.scss', { cwd: __dirname })
.filter(function(themeName) {
return themeName.split('/')[1].charAt(0) != '_';
// Only <component>.scss is different from <component>-theme.scss
return (themeName.indexOf('-theme') > -1);
});
themes.forEach(function(themeFile) {
var name = themeFile.match(/((\w|-)+)-theme\.scss/)[1];
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 629b753

Please sign in to comment.