Skip to content

Commit

Permalink
Fixed references to swiftformat_update. (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgrindel authored Jan 5, 2022
1 parent 7e390a1 commit 85d8c70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ The `exports_files` declaration defines a target for your [SwiftFormat configura
(`.swiftformat`)](https://github.com/nicklockwood/SwiftFormat#config-file). It is referenced by the
`swiftformat_pkg` that we will add to each of the Bazel packages that contain Swift source files.

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


Expand Down
2 changes: 1 addition & 1 deletion doc/how_it_works.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $ bazel run //path/to/pkg:swiftformat_update
```

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

```sh
Expand Down

0 comments on commit 85d8c70

Please sign in to comment.