Skip to content

Commit a78d21c

Browse files
committed
chore(build): renamed task clean:compile to clean:dist for convenience
1 parent 49048f8 commit a78d21c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

gulpfile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var gulp = require('gulp'),
1313
// Prepare CSS
1414
// ===========
1515

16-
var processWinPath = function(file) {
16+
var processWinPath = function (file) {
1717
// Fix for bug with paths on Windows
1818
var path = require('path');
1919
if (process.platform === 'win32') {
@@ -330,7 +330,7 @@ gulp.task('watch', ['styles:sass', 'scripts:lint', 'scripts:cacheTpls', 'assets:
330330
gulp.task('clean:build', function (cb) {
331331
del(config.build, cb);
332332
});
333-
gulp.task('clean:compile', function (cb) {
333+
gulp.task('clean:dist', function (cb) {
334334
del(config.dist, { force: true }, cb);
335335
});
336336

@@ -343,7 +343,7 @@ gulp.task('build', ['clean:build'], function () {
343343
gulp.start('styles:sass', 'scripts:lint', 'scripts:cacheTpls', 'vendor:css', 'vendor:js', 'vendor:assets', 'test:run', 'assets:img', 'html:inject');
344344
});
345345

346-
gulp.task('compile', ['clean:compile', 'build'], function () {
346+
gulp.task('compile', ['clean:dist', 'build'], function () {
347347
gulp.start('styles', 'scripts', 'assets', 'html');
348348
});
349349

0 commit comments

Comments
 (0)