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

Commit fe4944e

Browse files
lib(#13): update libs and Angular v7
1 parent 28cfcc8 commit fe4944e

File tree

4 files changed

+3086
-2264
lines changed

4 files changed

+3086
-2264
lines changed

gulpfile.js

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const del = require('del');
88

99
const fs = require('fs');
1010

11-
gulp.task('copy-assets', function () {
11+
gulp.task('copy-assets', function (done) {
1212
gulp.src('./src/assets/**/*')
1313
.pipe(gulp.dest('./dist/server/assets/'));
1414

@@ -18,13 +18,17 @@ gulp.task('copy-assets', function () {
1818

1919
gulp.src('./node_modules/cookieconsent/build/*')
2020
.pipe(gulp.dest('./dist/server/assets/cookieconsent/'));
21+
22+
done();
2123
});
2224

23-
gulp.task('moment', function (cg) {
25+
gulp.task('moment', function (done) {
2426
del(['./node_modules/moment/locale/*', '!./node_modules/moment/locale/fr.js', '!./node_modules/moment/locale/de.js', '!./node_modules/moment/locale/it.js', '!./node_modules/moment/locale/en.js']);
27+
28+
done();
2529
});
2630

27-
gulp.task('prod', function () {
31+
gulp.task('prod', function (done) {
2832
gulp.src('./src/index.html')
2933
.pipe(removeCode({prod: true}))
3034
.pipe(gulp.dest('./src/'));
@@ -68,9 +72,11 @@ gulp.task('prod', function () {
6872
gulp.src('./static/termsofuse_it.html')
6973
.pipe(removeCode({prod: true}))
7074
.pipe(gulp.dest('./static/'));
75+
76+
done();
7177
});
7278

73-
gulp.task('staging', function () {
79+
gulp.task('staging', function (done) {
7480
gulp.src('./src/index.html')
7581
.pipe(removeCode({staging: true}))
7682
.pipe(gulp.dest('./src/'));
@@ -114,6 +120,8 @@ gulp.task('staging', function () {
114120
gulp.src('./static/termsofuse_it.html')
115121
.pipe(removeCode({staging: true}))
116122
.pipe(gulp.dest('./static/'));
123+
124+
done();
117125
});
118126

119127
// Inject secret keys
@@ -124,7 +132,7 @@ const replaceResources = ['./src/providers/core/utils/resources.ts', './src/inde
124132
'./static/termsofuse_de.html', './static/termsofuse_fr.html', './static/termsofuse_it.html', './static/termsofuse.html'
125133
];
126134

127-
gulp.task('resources', function () {
135+
gulp.task('resources', function (done) {
128136
const resources = JSON.parse(fs.readFileSync('/Users/daviddalbusco/Documents/projects/fluster/ororomunroe/resources/resources.json'));
129137

130138
replace({
@@ -183,4 +191,6 @@ gulp.task('resources', function () {
183191
silent: false
184192
});
185193

194+
done();
195+
186196
});

0 commit comments

Comments
 (0)