This repository has been archived by the owner on Sep 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API docs: only index top-level symbols (#166)
* API docs: indexer: add a test proving that non-top-level symbols are being emitted incorrectly * fix the bug * CI: fix gofmt check, add comment Signed-off-by: Stephen Gutekanst <[email protected]>
- Loading branch information
Stephen Gutekanst
authored
Jun 16, 2021
1 parent
05c7a45
commit 4e1a1f4
Showing
4 changed files
with
33 additions
and
99 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
steps: | ||
- label: ':go:' | ||
command: find internal/testdata -type f -name '*.go' -exec go fmt {} \; | ||
# Note: go fmt on its own ignores testdata/ directories. | ||
command: test -z $(gfind internal/testdata -type f -name '*.go' -exec gofmt -l {} \;) | ||
- label: ':go:' | ||
command: go test ./... |
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