File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -3,5 +3,3 @@ import {cleanTask} from '../task_helpers';
3
3
4
4
5
5
task ( 'clean' , cleanTask ( 'dist' ) ) ;
6
- task ( ':clean:spec' , cleanTask ( 'dist/**/*.spec.*' ) ) ;
7
- task ( ':clean:assets' , cleanTask ( 'dist/**/*+(.html|.css)' ) ) ;
Original file line number Diff line number Diff line change @@ -5,18 +5,21 @@ import gulpRunSequence = require('run-sequence');
5
5
import path = require( 'path' ) ;
6
6
import minimist = require( 'minimist' ) ;
7
7
8
- import { execTask } from '../task_helpers' ;
8
+ import { execTask , cleanTask } from '../task_helpers' ;
9
9
import { DIST_COMPONENTS_ROOT } from '../constants' ;
10
10
11
11
const argv = minimist ( process . argv . slice ( 3 ) ) ;
12
12
13
13
14
+ task ( ':build:release:clean-spec' , cleanTask ( 'dist/**/*.spec.*' ) ) ;
15
+
16
+
14
17
task ( 'build:release' , function ( done : ( ) => void ) {
15
18
// Synchronously run those tasks.
16
19
gulpRunSequence (
17
20
'clean' ,
18
21
':build:components:ngc' ,
19
- [ ':clean:spec' , ' :clean:assets' ] ,
22
+ ':build:release :clean-spec' ,
20
23
done
21
24
) ;
22
25
} ) ;
You can’t perform that action at this time.
0 commit comments