-
-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I include all _test.go files by regex. #392
Labels
enhancement
New feature or request
Projects
Comments
I try to use --remap-all to workaround. scc -c --no-cocomo -i "go" --exclude-dir ".git,vendor" --remap-all "ginkgo":"Ginkgo test" |
Actually looking though there is no good way to do this. You might be able to do so though negative lookups such as
Or some such... I am in the middle of porting scc to use https://github.com/boyter/gocodewalker/ to get proper .gitignore support and when I do so I can map through the include stuff. Going to add that on the todo pile which will ensure this can be done more easily. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I need to walk through all _test.go files and get the lines of test code.
The text was updated successfully, but these errors were encountered: