Skip to content

Instantly share code, notes, and snippets.

@cmalven
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmalven/fb5447a840783a4ad258 to your computer and use it in GitHub Desktop.
Save cmalven/fb5447a840783a4ad258 to your computer and use it in GitHub Desktop.
Faking Sass Globbing
// ...
gulp.task('concatStyles', function() {
return gulp.src(['assets/styles/objects/**/*.scss', 'assets/styles/layout/**/*.scss'])
.pipe(concat)
.pipe(gulp.dest('/'))
.pipe(concat('_combined-object-layout.scss'));
});
gulp.task('styles', ['concatStyles'], function() {
return gulp.src(['assets/styles/signal.scss'])
.pipe(sass)
.pipe(autoprefixer)
.pipe(gulp.dest('dist/'))
.pipe(livereload());
});
// ...
// Libraries
// ...
// Globals
// ...
// Objects and Layouts
@import "combined-object-layout";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment