-
Notifications
You must be signed in to change notification settings - Fork 12k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(@angular/cli): minor updates to
ng run
description
Minor improvements of `ng run` docs (cherry picked from commit 89ab299)
- Loading branch information
1 parent
2c04f4a
commit e293cb1
Showing
2 changed files
with
8 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
Architect is the tool that the CLI uses to perform complex tasks such as compilation, according to provided configurations. | ||
The CLI commands run Architect targets such as `build`, `serve`, `test`, and `lint`. | ||
Each named target has a default configuration, specified by an "options" object, | ||
and an optional set of named alternate configurations in the "configurations" object. | ||
Each named target has a default configuration, specified by an `options` object, | ||
and an optional set of named alternate configurations in the `configurations` object. | ||
|
||
For example, the "serve" target for a newly generated app has a predefined | ||
alternate configuration named "production". | ||
For example, the `serve` target for a newly generated app has a predefined | ||
alternate configuration named `production`. | ||
|
||
You can define new targets and their configuration options in the "architect" section | ||
of the `angular.json` file. | ||
If you do so, you can run them from the command line using the `ng run` command. | ||
Execute the command using the following format. | ||
|
||
``` | ||
ng run project:target[:configuration] | ||
``` | ||
You can define new targets and their configuration options in the `architect` section | ||
of the `angular.json` file which you can run them from the command line using the `ng run` command. |