Last change
on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
3.7 KB
|
Line | |
---|
1 | "use strict";
|
---|
2 | /**
|
---|
3 | * @license
|
---|
4 | * Copyright Google LLC All Rights Reserved.
|
---|
5 | *
|
---|
6 | * Use of this source code is governed by an MIT-style license that can be
|
---|
7 | * found in the LICENSE file at https://angular.io/license
|
---|
8 | */
|
---|
9 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
10 | exports.DevkitMigration = void 0;
|
---|
11 | const migration_1 = require("../update-tool/migration");
|
---|
12 | class DevkitMigration extends migration_1.Migration {
|
---|
13 | /** Prints an informative message with context on the current target. */
|
---|
14 | printInfo(text) {
|
---|
15 | const targetName = this.context.isTestTarget ? 'test' : 'build';
|
---|
16 | this.logger.info(`- ${this.context.projectName}@${targetName}: ${text}`);
|
---|
17 | }
|
---|
18 | }
|
---|
19 | exports.DevkitMigration = DevkitMigration;
|
---|
20 | //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGV2a2l0LW1pZ3JhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jZGsvc2NoZW1hdGljcy9uZy11cGRhdGUvZGV2a2l0LW1pZ3JhdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUE7Ozs7OztHQU1HOzs7QUFJSCx3REFBcUY7QUFhckYsTUFBc0IsZUFBc0IsU0FBUSxxQkFBOEI7SUFFaEYsd0VBQXdFO0lBQzlELFNBQVMsQ0FBQyxJQUFZO1FBQzlCLE1BQU0sVUFBVSxHQUFHLElBQUksQ0FBQyxPQUFPLENBQUMsWUFBWSxDQUFDLENBQUMsQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLE9BQU8sQ0FBQztRQUNoRSxJQUFJLENBQUMsTUFBTSxD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GFyZ2V0LlxuICAgKi9cbiAgc3RhdGljIGdsb2JhbFBvc3RNaWdyYXRpb24/KHRyZWU6IFRyZWUsIGNvbnRleHQ6IFNjaGVtYXRpY0NvbnRleHQpOiBQb3N0TWlncmF0aW9uQWN0aW9uO1xufVxuXG5leHBvcnQgdHlwZSBEZXZraXRNaWdyYXRpb25DdG9yPERhdGE+ID0gQ29uc3RydWN0b3I8RGV2a2l0TWlncmF0aW9uPERhdGE+PiAmXG4gICAge1ttIGluIGtleW9mIHR5cGVvZiBEZXZraXRNaWdyYXRpb25dOiAodHlwZW9mIERldmtpdE1pZ3JhdGlvbilbbV19O1xuIl19 |
---|
Note:
See
TracBrowser
for help on using the repository browser.