forked from ampproject/amphtml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
113 lines (110 loc) · 4.8 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
/**
* Copyright 2019 The AMP HTML Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS-IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* global require */
const gulp = require('gulp-help')(require('gulp'));
const {
buildExperiments,
buildLoginDone,
dist,
} = require('./build-system/tasks/dist');
const {
compileAccessExpr,
compileBindExpr,
compileCssExpr,
} = require('./build-system/tasks/compile-expr');
const {
process3pGithubPr,
} = require('./build-system/tasks/process-3p-github-pr');
const {
processGithubIssues,
} = require('./build-system/tasks/process-github-issues');
const {ava} = require('./build-system/tasks/ava');
const {babelPluginTests} = require('./build-system/tasks/babel-plugin-tests');
const {build, defaultTask, watch} = require('./build-system/tasks/build');
const {bundleSize} = require('./build-system/tasks/bundle-size');
const {cachesJson, jsonSyntax} = require('./build-system/tasks/json-check');
const {changelog, changelogUpdate} = require('./build-system/tasks/changelog');
const {checkLinks} = require('./build-system/tasks/check-links');
const {checkTypes} = require('./build-system/tasks/check-types');
const {clean} = require('./build-system/tasks/clean');
const {createGoldenCss} = require('./build-system/tasks/create-golden-css');
const {css} = require('./build-system/tasks/css');
const {csvifySize} = require('./build-system/tasks/csvify-size');
const {depCheck} = require('./build-system/tasks/dep-check');
const {devDashboardTests} = require('./build-system/tasks/dev-dashboard-tests');
const {e2e} = require('./build-system/tasks/e2e');
const {firebase} = require('./build-system/tasks/firebase');
const {getZindex} = require('./build-system/tasks/get-zindex');
const {lint} = require('./build-system/tasks/lint');
const {makeExtension} = require('./build-system/tasks/extension-generator');
const {nailgunStart, nailgunStop} = require('./build-system/tasks/nailgun');
const {prCheck} = require('./build-system/tasks/pr-check');
const {prependGlobal} = require('./build-system/tasks/prepend-global');
const {presubmit} = require('./build-system/tasks/presubmit-checks');
const {releaseTag} = require('./build-system/tasks/release-tagging');
const {serve} = require('./build-system/tasks/serve.js');
const {size} = require('./build-system/tasks/size');
const {test} = require('./build-system/tasks/runtime-test');
const {todosFindClosed} = require('./build-system/tasks/todos');
const {updatePackages} = require('./build-system/tasks/update-packages');
const {validator, validatorWebui} = require('./build-system/tasks/validator');
const {visualDiff} = require('./build-system/tasks/visual-diff');
// Keep this list alphabetized.
gulp.task('ava', ava);
gulp.task('babel-plugin-tests', babelPluginTests);
gulp.task('build', build);
gulp.task('build-experiments', buildExperiments);
gulp.task('build-login-done', buildLoginDone);
gulp.task('bundle-size', bundleSize);
gulp.task('caches-json', cachesJson);
gulp.task('changelog', changelog);
gulp.task('changelog:update', changelogUpdate);
gulp.task('check-links', checkLinks);
gulp.task('check-types', checkTypes);
gulp.task('clean', clean);
gulp.task('compile-access-expr', compileAccessExpr);
gulp.task('compile-bind-expr', compileBindExpr);
gulp.task('compile-css-expr', compileCssExpr);
gulp.task('create-golden-css', createGoldenCss);
gulp.task('css', css);
gulp.task('csvify-size', csvifySize);
gulp.task('default', defaultTask);
gulp.task('dep-check', depCheck);
gulp.task('dev-dashboard-tests', devDashboardTests);
gulp.task('dist', dist);
gulp.task('e2e', e2e);
gulp.task('firebase', firebase);
gulp.task('get-zindex', getZindex);
gulp.task('json-syntax', jsonSyntax);
gulp.task('lint', lint);
gulp.task('make-extension', makeExtension);
gulp.task('nailgun-start', nailgunStart);
gulp.task('nailgun-stop', nailgunStop);
gulp.task('pr-check', prCheck);
gulp.task('prepend-global', prependGlobal);
gulp.task('presubmit', presubmit);
gulp.task('process-3p-github-pr', process3pGithubPr);
gulp.task('process-github-issues', processGithubIssues);
gulp.task('release:tag', releaseTag);
gulp.task('test', test);
gulp.task('serve', serve);
gulp.task('size', size);
gulp.task('todos:find-closed', todosFindClosed);
gulp.task('update-packages', updatePackages);
gulp.task('validator', validator);
gulp.task('validator-webui', validatorWebui);
gulp.task('visual-diff', visualDiff);
gulp.task('watch', watch);