-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ensure gazelle config overrides are local (#2638)
The change to add custom targets caused this issue. The inherited targets configuration was not deep cloned, so modifications to the targets configurations would modify the config of parent BUILDs. <!-- Delete this comment! Follow our PR template instructions: https://github.com/aspect-build/.github/blob/main/pull_requests.md --> ### Type of change - Bug fix (change which fixes an issue) ### Test plan - New test cases added GitOrigin-RevId: bba27992671afa344077b8ef40be142f583075fa
- Loading branch information
1 parent
e7bda75
commit b077571
Showing
6 changed files
with
38 additions
and
5 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Modify the globs within a subdirectory. | ||
# Should not effect the js_test_files of parent/sibling directories. | ||
# Example bug: https://github.com/sourcegraph/sourcegraph/commit/87a70c7c1ff0328540af1b2d77eb3b035b41b1d3 | ||
|
||
# gazelle:js_test_files **/*.{ts,tsx} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
load("@aspect_rules_ts//ts:defs.bzl", "ts_project") | ||
|
||
# Modify the globs within a subdirectory. | ||
# Should not effect the js_test_files of parent/sibling directories. | ||
# Example bug: https://github.com/sourcegraph/sourcegraph/commit/87a70c7c1ff0328540af1b2d77eb3b035b41b1d3 | ||
|
||
# gazelle:js_test_files **/*.{ts,tsx} | ||
|
||
ts_project( | ||
name = "e2e_tests", | ||
testonly = True, | ||
srcs = [ | ||
"a.ts", | ||
"r.ts", | ||
], | ||
) |
Empty file.
Empty file.