forked from angular/angular-cli
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbenchmark
More file actions
executable file
·19 lines (16 loc) · 543 Bytes
/
benchmark
File metadata and controls
executable file
·19 lines (16 loc) · 543 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env node
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
'use strict';
require('../lib/bootstrap-local');
const packages = require('../lib/packages').packages;
const main = require(packages['@angular-devkit/benchmark'].bin['benchmark']).main;
const args = process.argv.slice(2);
main({ args })
.then(exitCode => process.exitCode = exitCode)
.catch(e => { throw (e); });