Skip to content

Commit 1942c73

Browse files
authored
Update "Build a subset of the code" section (#27976)
* Update "Build a subset of the code" section * Address feedback from peer review
1 parent 5d411aa commit 1942c73

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

docs/BuildFromSource.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,21 @@ On macOS/Linux:
278278
279279
### Building a subset of the code
280280

281-
This repository is large. Look for `build.cmd`/`.sh` scripts in subfolders. These scripts can be used to invoke build and test on a smaller set of projects.
281+
When working in the repository, you'll typically be focused on one project area, such as Blazor and SignalR. In that case, it's easier to use the `build.cmd` and `build.sh` that are available in each subfolder. When invoked in a subfolder on Windows:
282282

283-
Furthermore, you can use flags on `build.cmd`/`.sh` to build subsets based on language type, like C++, TypeScript, or C#. Run `build.sh --help` or `build.cmd -help` for details.
283+
```ps1
284+
.\build.cmd
285+
```
286+
287+
Or on macOS or Linux:
288+
289+
```bash
290+
./build.sh
291+
```
292+
293+
> :bulb: Before using the `build.cmd` or `build.sh` at the top-level or in a subfolder, you will need to make sure that [the dependencies documented above](#step-2-install-pre-requisites) have been installed.
294+
295+
These scripts will build and test the projects within a specific directory. Furthermore, you can use flags on `build.cmd`/`.sh` to build subsets based on language type, like C++, TypeScript, or C#. Run `build.sh --help` or `build.cmd -help` for details.
284296

285297
### Build properties
286298

0 commit comments

Comments
 (0)