Skip to content

Commit fe0a881

Browse files
authored
Update README instructions (#472)
1 parent e87aace commit fe0a881

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

README.md

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,23 +47,12 @@ replacing the `urls` and `sha256` attributes with the values from the release
4747
you wish to depend on:
4848

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

53-
# rules_swift and apple_support no longer support releases. If you'd like to pin
54-
# down these dependencies to a specific commit, please add the following to the
55-
# top of your WORKSPACE, using the commit you'd like to pin for each of the
56-
# repositories.
57-
git_repository(
52+
http_archive(
5853
name = "build_bazel_rules_swift",
59-
remote = "https://github.com/bazelbuild/rules_swift.git",
60-
commit = "[SOME_HASH_VALUE]",
61-
)
62-
63-
git_repository(
64-
name = "build_bazel_apple_support",
65-
remote = "https://github.com/bazelbuild/apple_support.git",
66-
commit = "[SOME_HASH_VALUE]",
54+
sha256 = "cea22c0616d797e494d7844a9b604520c87f53c81de49613a7e679ec5b821620",
55+
url = "https://github.com/bazelbuild/rules_swift/releases/download/0.14.0/rules_swift.0.14.0.tar.gz",
6756
)
6857

6958
load(

0 commit comments

Comments
 (0)