//Stylus
gulp.task('stylus', function () {
return gulp.src(['app/css/**/*.styl','app/module/**/*.styl'])
.pipe(cache('stylus'))
.pipe(progeny({
regexp: /^\s*@import\s*(?:\(\w+\)\s*)?['"]([^'"]+)['"]/
}))
.pipe(filter(['**/*.styl', '!**/_*.styl']))
.pipe(stylus({
use:[rupture()],
'include css': true,
})).on('error', errorhandler)
.pipe(gulp.dest('app/css/'))
});