From a1c87dd57778bbc230d1aad99bbc2148eb2d6bc8 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Tue, 23 Apr 2019 16:01:18 +0200 Subject: [PATCH] docs: update contributing to use bazel from npm --- CONTRIBUTING.md | 6 +++--- scripts/templates/contributing.ejs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 43f412193d..6072228db9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -284,18 +284,18 @@ To test if your change effect the public API you need to run the API guardian on For example in case `@angular-devkit/core` package was modified you need to run: ```bash -bazel test //etc/api:angular_devkit_core_api +yarn bazel test //etc/api:angular_devkit_core_api ``` You can also test all packages by running: ```bash -bazel test //etc/api ... +yarn bazel test //etc/api ... ``` If you modified the public API, the test will fail. To update the golden files you need to run: ```bash -bazel run //etc/api:angular_devkit_core_api.accept +yarn bazel run //etc/api:angular_devkit_core_api.accept ``` **Note**: In some cases we use aliased symbols to create namespaces. diff --git a/scripts/templates/contributing.ejs b/scripts/templates/contributing.ejs index 2b8b9f7093..0690555ada 100644 --- a/scripts/templates/contributing.ejs +++ b/scripts/templates/contributing.ejs @@ -273,18 +273,18 @@ To test if your change effect the public API you need to run the API guardian on For example in case `@angular-devkit/core` package was modified you need to run: ```bash -bazel test //etc/api:angular_devkit_core_api +yarn bazel test //etc/api:angular_devkit_core_api ``` You can also test all packages by running: ```bash -bazel test //etc/api ... +yarn bazel test //etc/api ... ``` If you modified the public API, the test will fail. To update the golden files you need to run: ```bash -bazel run //etc/api:angular_devkit_core_api.accept +yarn bazel run //etc/api:angular_devkit_core_api.accept ``` **Note**: In some cases we use aliased symbols to create namespaces.