source: trip-planner-front/node_modules/@angular/cli/commands/deploy-impl.js@ 1ad8e64

Last change on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[6a3a178]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 */
9Object.defineProperty(exports, "__esModule", { value: true });
10exports.DeployCommand = void 0;
11const architect_command_1 = require("../models/architect-command");
12const BuilderMissing = `
13Cannot find "deploy" target for the specified project.
14
15You should add a package that implements deployment capabilities for your
16favorite platform.
17
18For example:
19 ng add @angular/fire
20 ng add @azure/ng-deploy
21 ng add @zeit/ng-deploy
22
23Find more packages on npm https://www.npmjs.com/search?q=ng%20deploy
24`;
25class DeployCommand extends architect_command_1.ArchitectCommand {
26 constructor() {
27 super(...arguments);
28 this.target = 'deploy';
29 this.missingTargetError = BuilderMissing;
30 }
31 async initialize(options) {
32 if (!options.help) {
33 return super.initialize(options);
34 }
35 }
36}
37exports.DeployCommand = DeployCommand;
Note: See TracBrowser for help on using the repository browser.