Switching to more generic task names

This commit is contained in:
Jeff Avallone 2015-10-31 09:44:55 -04:00
parent 371e4adc29
commit 53f74aff30

View File

@ -44,7 +44,7 @@ gulp.task('server', ['build'], function() {
}); });
}); });
gulp.task('build', ['static', 'markup', 'compass', 'browserify']); gulp.task('build', ['static', 'markup', 'styles', 'scripts']);
gulp.task('static', function() { gulp.task('static', function() {
return gulp.src(config.globs.other, { base: './src' }) return gulp.src(config.globs.other, { base: './src' })
@ -52,7 +52,7 @@ gulp.task('static', function() {
.pipe(gulp.dest(config.buildRoot)); .pipe(gulp.dest(config.buildRoot));
}); });
gulp.task('markup', ['compass'], function() { gulp.task('markup', ['styles'], function() {
var wrap = require('gulp-wrap'), var wrap = require('gulp-wrap'),
path = require('path'), path = require('path'),
fs = require('fs'); fs = require('fs');
@ -74,7 +74,7 @@ gulp.task('markup', ['compass'], function() {
.pipe(gulp.dest(config.buildRoot)); .pipe(gulp.dest(config.buildRoot));
}); });
gulp.task('compass', function() { gulp.task('styles', function() {
var compass = require('gulp-compass'); var compass = require('gulp-compass');
return gulp.src(config.globs.sass) return gulp.src(config.globs.sass)
@ -82,7 +82,7 @@ gulp.task('compass', function() {
.pipe(compass(config.compass)); .pipe(compass(config.compass));
}); });
gulp.task('browserify', function() { gulp.task('scripts', function() {
var browserify = require('browserify'), var browserify = require('browserify'),
tap = require('gulp-tap'); tap = require('gulp-tap');