Skip to content

Commit 85d8c70

Browse files
authored
Fixed references to swiftformat_update. (#41)
1 parent 7e390a1 commit 85d8c70

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ The `exports_files` declaration defines a target for your [SwiftFormat configura
9393
(`.swiftformat`)](https://github.com/nicklockwood/SwiftFormat#config-file). It is referenced by the
9494
`swiftformat_pkg` that we will add to each of the Bazel packages that contain Swift source files.
9595

96-
The [`swiftformat_update_all`](/doc/rules_and_macros_overview.md#swiftformat_update_all) macro
97-
defines a runnable target that copies all of the formatted Swift source files to the workspace
96+
The [updatesrc_update_all](https://github.com/cgrindel/bazel-starlib/blob/main/doc/updatesrc/rules_and_macros_overview.md#updatesrc_update_all)
97+
macro defines a runnable target that copies all of the formatted Swift source files to the workspace
9898
directory.
9999

100100

doc/how_it_works.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ $ bazel run //path/to/pkg:swiftformat_update
4545
```
4646

4747
Since finding and running these commands manually would be tedious, we added a
48-
`swiftformat_update_all` declaration at the root of the workspace. This will find all of the update
48+
`updatesrc_update_all` declaration at the root of the workspace. This will find all of the update
4949
commands and run them.
5050

5151
```sh

0 commit comments

Comments
 (0)