Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fixes #628
  • Loading branch information
alexeagle authored Mar 27, 2019
1 parent e115dea commit dbd5053
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ See sections below for details and alternative methods.
$ npm install --save-dev @bazel/bazel @bazel/ibazel @bazel/buildifier
```

2. Create a file called `WORKSPACE` in the root of your repo, containing
1. Create a file called `WORKSPACE` in the root of your repo, containing

```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
Expand Down Expand Up @@ -76,7 +76,9 @@ See sections below for details and alternative methods.
install_bazel_dependencies()
```

3. In your `package.json`, find the `"scripts"` section, or create one.
1. Create a file `BUILD.bazel` in the root of your repo, next to the `package.json` file. It can be empty for now.

1. In your `package.json`, find the `"scripts"` section, or create one.

```json
"scripts": {
Expand All @@ -85,7 +87,7 @@ See sections below for details and alternative methods.
}
```

4. Test that you can do an initial build. It will report that no targets were found yet.
1. Test that you can do an initial build. It will report that no targets were found yet.

```sh
$ yarn build
Expand Down

0 comments on commit dbd5053

Please sign in to comment.