Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit b100dbf

Browse files
author
Nick Litwin
committed
Add callback to indicate task is done
1 parent 80e1527 commit b100dbf

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

gulp-tasks/build.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ module.exports = function(gulp, $, config, utilities) {
88

99
runSequence(
1010
'clean',
11-
['optimize', 'fonts']
11+
['optimize', 'fonts'],
12+
done
1213
);
13-
14-
utilities.clean(config.temp, done);
1514
});
1615

1716
gulp.task('build-specs', ['templatecache', 'ngConstants'], function() {

gulp-tasks/deploy.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
var merge = require('merge-stream');
22
var awspublishRouter = require('gulp-awspublish-router');
3-
var runSequence = require('run-sequence');
43

54
module.exports = function(gulp, $, config, utilities) {
65
'use strict';
76

8-
gulp.task('deploy', function() {
9-
runSequence('build', 'deploy:aws');
10-
});
11-
12-
gulp.task('deploy:aws', function() {
7+
gulp.task('deploy', ['build'], function() {
138
var awsConfig = {
149
params: {
1510
Bucket: config.aws.bucket

0 commit comments

Comments
 (0)