This repository was archived by the owner on Apr 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +14
-25
lines changed Expand file tree Collapse file tree 2 files changed +14
-25
lines changed Original file line number Diff line number Diff line change 59
59
# to reproduce a failure.
60
60
- run : bazel info release
61
61
62
- # Install the dependencies from NPM
63
- # TODO(gmagolan): Use `bazel run :install` once bootstrap issue resolved.
64
- # See https://github.com/bazelbuild/rules_nodejs/issues/275.
65
- - run : yarn
66
-
67
62
# Build and Test
68
63
- run : bazel test //...
69
64
Original file line number Diff line number Diff line change @@ -15,37 +15,31 @@ Follow https://github.com/angular/angular/issues/19058 for updates.
15
15
16
16
## Installation
17
17
18
- Add ` ibazel ` to your ` $PATH ` :
18
+ Install Bazel from the distribution, see [ install] instructions.
19
+ On Mac, if you have Homebrew installed you can
19
20
21
+ ``` bash
22
+ brew tap bazelbuild/tap
23
+ brew tap-pin bazelbuild/tap
24
+ brew install bazel
20
25
```
21
- yarn global add @bazel/ibazel
22
- ```
23
-
24
- or
25
26
26
- ```
27
- npm install -g @bazel/ibazel
28
- ```
27
+ Bazel will install a hermetic version of Node, npm, and Yarn when
28
+ you run the first build.
29
29
30
- ## Setup
30
+ [ install ] : https://bazel.build/versions/master/docs/install.html
31
31
32
- Before building the app, we install packages, just as with any npm-based development workflow.
32
+ Also add ` ibazel ` to your ` $PATH ` :
33
33
34
- ``` bash
35
- $ yarn install
34
+ ```
35
+ yarn global add @bazel/ibazel
36
36
```
37
37
38
38
or
39
39
40
- ``` bash
41
- $ npm install
42
40
```
43
-
44
- For the time being, you need to run your locally installed ` yarn ` or ` npm ` to install dependencies
45
- as shown above. This is because we pull down the ` @bazel/typescript ` bazel dependency from npm and
46
- that dependency needs to be in place before we can build the project. We're working to
47
- resolve this bootstrapping issue. Soon you will be able to skip this step and just do your first
48
- Bazel build without needing any install step first.
41
+ npm install -g @bazel/ibazel
42
+ ```
49
43
50
44
## Development
51
45
You can’t perform that action at this time.
0 commit comments