blob: 9ac6d5014ccb1cf734a8ebeca83b07e6074677a3 (
plain) (
blame)
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
|
"use strict";
/**
* @license
* Copyright Google LLC 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
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeployCommand = void 0;
const architect_command_1 = require("../models/architect-command");
const BuilderMissing = `
Cannot find "deploy" target for the specified project.
You should add a package that implements deployment capabilities for your
favorite platform.
For example:
ng add @angular/fire
ng add @azure/ng-deploy
Find more packages on npm https://www.npmjs.com/search?q=ng%20deploy
`;
class DeployCommand extends architect_command_1.ArchitectCommand {
constructor() {
super(...arguments);
this.target = 'deploy';
this.missingTargetError = BuilderMissing;
}
async initialize(options) {
if (!options.help) {
return super.initialize(options);
}
}
}
exports.DeployCommand = DeployCommand;
|