|
6 | 6 | - On Windows: Follow the [instructions](https://docs.bazel.build/versions/master/install-windows.html#5-optional-install-compilers-and-language-runtimes)
|
7 | 7 | to install [`MSYS2`](https://www.msys2.org/) and the listed "Common MSYS2 packages".
|
8 | 8 | Afterwards add `C:\msys64\usr\bin` to the `PATH` environment variable.
|
9 |
| -3. Run `yarn global add gulp` to install gulp. |
10 |
| -4. Fork the `angular/components` repo on GitHub. |
11 |
| -5. Clone your fork to your machine with `git clone`. |
| 9 | +3. Fork the `angular/components` repo on GitHub. |
| 10 | +4. Clone your fork to your machine with `git clone`. |
12 | 11 | Recommendation: name your git remotes `upstream` for `angular/components`
|
13 | 12 | and `<your-username>` for your fork. Also see the [team git shortcuts](https://github.com/angular/components/wiki/Team-git----bash-shortcuts).
|
14 |
| -6. From the root of the project, run `yarn`. |
| 13 | +5. From the root of the project, run `yarn dev-app`. |
15 | 14 |
|
16 | 15 |
|
17 |
| -To build angular/components in dev mode, run `gulp material:build`. |
18 |
| -To build angular/components in release mode, run `gulp material:build-release` |
| 16 | +To build angular/components in dev mode, run `yarn gulp material:build`. |
| 17 | +To build angular/components in release mode, run `yarn gulp material:build-release` |
19 | 18 |
|
20 | 19 | To bring up a local server, run `yarn dev-app`. This will automatically watch for changes
|
21 | 20 | and rebuild. The browser should refresh automatically when changes are made.
|
22 | 21 |
|
23 | 22 | ### Running tests
|
24 | 23 |
|
25 |
| -To run unit tests, run `yarn test`. |
| 24 | +To run unit tests, run `yarn test <target>`. E.g. `yarn test button`. |
26 | 25 | To run the e2e tests, run `yarn e2e`.
|
27 | 26 | To run lint, run `yarn lint`.
|
0 commit comments