-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
buildifier: move out of array addition
When mutating arrays the linter prefers to use extend/append instead of += to the existing array. Also moving from arrays to ctx.actions.attr instead of arrays when passing values into ctx.actions, this reduces the memory preassure during the bazel analysis phase and delays it until the action graph gets executed.
- Loading branch information
1 parent
65d147c
commit 0f67c8d
Showing
2 changed files
with
25 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters