-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathgulpfile.js
78 lines (61 loc) · 1.75 KB
/
gulpfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/* eslint-disable no-undef */
/* eslint-disable @typescript-eslint/no-var-requires */
let gulp = require('gulp');
function log(msg) {
console.log('gulpfile.js ' + msg);
}
var sb = require('./tasks/gulp-samples.js')
// exports.updateSamples = updateSamples = gulp.series(
// sb.lintSamples,
// sb.getSamples,
// sb.updateReadme,
// // sb.updateIndex,
// sb.updateSharedFiles,
// );
exports.updateReadme = updateReadme = gulp.series(
sb.getSamples,
sb.updateReadme,
);
exports.getSamples = getSamples = gulp.series(
sb.getSamples,
);
exports.simplifySamples = simplifySamples = gulp.series(
sb.getSamples,
sb.simplifySamples,
);
exports.updateSharedFiles = updateSharedFiles = gulp.series(
sb.getSamples,
sb.updateSharedFiles,
);
exports.updateBrowser = updateBrowser = gulp.series(
sb.logPackages,
sb.updateVersion,
sb.getSamples,
sb.copySamples,
sb.updateCodeViewer,
sb.updateReadme,
// sb.copyPackageJson,
);
exports.updateVersion = updateVersion = sb.updateVersion;
// exports.default = updateBrowser;
exports.logPackages = sb.logPackages;
exports.logPublicFiles = sb.logPublicFiles;
exports.logSourceFiles = sb.logSourceFiles;
exports.logUniqueFiles = sb.logUniqueFiles;
exports.logRootFiles = sb.logRootFiles;
exports.lintSamples = sb.lintSamples;
exports.verifyBuild = sb.verifyBuild;
exports.logRoutes = logRoutes = gulp.series(
sb.getSamples,
sb.logRoutes,
);
exports.logSandboxUrls = logSandboxUrls = gulp.series(
sb.getSamples,
sb.logSandboxUrls,
);
exports.updateCodeViewer = updateCodeViewer = gulp.series(
sb.getSamples,
sb.updateCodeViewer
);
exports.updateIG = updateIG = sb.updateIG
exports.cleanupSamples = cleanupSamples = sb.cleanupSamples