Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy committed Jul 5, 2024
1 parent 80c1bb3 commit 9cba542
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,15 @@ Rules for manipulating your Bazel workspace

## Install

```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
Add to your `MODULE.bazel` file:

http_archive(
```python
bazel_dep(name = "bzlws")
git_override(
name = "bzlws",
strip_prefix = "bzlws-f929e5380f441f50a77776d34a7df8cacdbdf986",
url = "https://github.com/zaucy/bzlws/archive/f929e5380f441f50a77776d34a7df8cacdbdf986.zip",
sha256 = "5bebb821b158b11d81dd25cf031b5b26bae97dbb02025df7d0e41a262b3a030b",
remote = "https://github.com/zaucy/bzlws.git",
commit = "80c1bb3227579e134cdb8bdcfc245581fbfcd566",
)

load("@bzlws//:repo.bzl", "bzlws_deps")
bzlws_deps()
```

On windows runfiles aren't enabled by default. `bzlws` needs runfiles in order to work. Enable them by adding this to your `.bazelrc`:
Expand All @@ -24,7 +21,7 @@ On windows runfiles aren't enabled by default. `bzlws` needs runfiles in order t
build --enable_runfiles
```

See [Documentation](docs/index.md) for usage
See [Documentation](docs/README.md) for usage

## License

Expand Down

0 comments on commit 9cba542

Please sign in to comment.