forked from ampproject/amphtml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
amp.js
executable file
·75 lines (72 loc) · 2.71 KB
/
amp.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
#!/usr/bin/env node
const {
createTask,
finalizeRunner,
} = require('./build-system/task-runner/amp-task-runner');
/**
* All the AMP tasks. Keep this list alphabetized.
*
* The three params used below are:
* 1. Name of the amp task to be invoked.
* E.g. amp default
* 2. Name of the function in the source file.
* E.g. defaultTask()
* If not specified, this is assumed to be the same as the task name.
* 3. Basename of the source file in build-system/tasks/.
* E.g. build-system/tasks/default-task.js
* If not specified, this is assumed to be the same as the task name.
*/
createTask('analytics-vendor-configs', 'analyticsVendorConfigs');
createTask('ava');
createTask('babel-plugin-tests', 'babelPluginTests');
createTask('build');
createTask('bundle-size', 'bundleSize');
createTask('check-analytics-vendors-list', 'checkAnalyticsVendorsList');
createTask('check-asserts', 'checkAsserts');
createTask('check-build-system', 'checkBuildSystem');
createTask('check-exact-versions', 'checkExactVersions');
createTask('check-ignore-lists', 'checkIgnoreLists');
createTask('check-invalid-whitespaces', 'checkInvalidWhitespaces');
createTask('check-json-schemas', 'checkJsonSchemas');
createTask('check-links', 'checkLinks');
createTask('check-owners', 'checkOwners');
createTask('check-renovate-config', 'checkRenovateConfig');
createTask('check-sourcemaps', 'checkSourcemaps');
createTask('check-types', 'checkTypes');
createTask('check-video-interface-list', 'checkVideoInterfaceList');
createTask('clean');
createTask('codecov-upload', 'codecovUpload');
createTask('compile-jison', 'compileJison');
createTask('css');
createTask('default', 'defaultTask', 'default-task');
createTask('dep-check', 'depCheck');
createTask('dist');
createTask('e2e');
createTask('firebase');
createTask('get-zindex', 'getZindex');
createTask('integration');
createTask('lint');
createTask('make-extension', 'makeExtension');
createTask('markdown-toc', 'markdownToc');
createTask('performance');
createTask('performance-urls', 'performanceUrls');
createTask('pr-check', 'prCheck');
createTask('prepend-global', 'prependGlobal');
createTask('presubmit', 'presubmit');
createTask('prettify');
createTask('release');
createTask('serve');
createTask('server-tests', 'serverTests');
createTask('storybook');
createTask('sweep-experiments', 'sweepExperiments');
createTask('test-report-upload', 'testReportUpload');
createTask('unit');
createTask('validate-html-fixtures', 'validateHtmlFixtures');
createTask('validator');
createTask('validator-cpp', 'validatorCpp', 'validator');
createTask('validator-webui', 'validatorWebui', 'validator');
createTask('visual-diff', 'visualDiff');
/**
* Finalize the task runner after all tasks have been created.
*/
finalizeRunner();