Skip to content

Commit

Permalink
Update README instructions (bazelbuild#472)
Browse files Browse the repository at this point in the history
  • Loading branch information
keith authored Aug 11, 2020
1 parent df70bcc commit 98a4f03
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,23 +47,12 @@ replacing the `urls` and `sha256` attributes with the values from the release
you wish to depend on:

```python
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

# rules_swift and apple_support no longer support releases. If you'd like to pin
# down these dependencies to a specific commit, please add the following to the
# top of your WORKSPACE, using the commit you'd like to pin for each of the
# repositories.
git_repository(
http_archive(
name = "build_bazel_rules_swift",
remote = "https://github.com/bazelbuild/rules_swift.git",
commit = "[SOME_HASH_VALUE]",
)

git_repository(
name = "build_bazel_apple_support",
remote = "https://github.com/bazelbuild/apple_support.git",
commit = "[SOME_HASH_VALUE]",
sha256 = "cea22c0616d797e494d7844a9b604520c87f53c81de49613a7e679ec5b821620",
url = "https://github.com/bazelbuild/rules_swift/releases/download/0.14.0/rules_swift.0.14.0.tar.gz",
)

load(
Expand Down

0 comments on commit 98a4f03

Please sign in to comment.