Closed janpfeifer closed 3 weeks ago
You should install scc with: go install github.com/boyter/scc/v3@master
, not the go install github.com/boyter/scc@master
.
github.com/boyter/scc@master
gives you an ancient version of scc:
I tested the correct version of scc and the '.sccignore' works well to me.
I think the README should be updated, since we now only support Go1.22+.
Thank you @apocelipes
Yes, indeed the README was telling me to use the version I used:
Maybe worth a fix to the README ?
My pleasure, I'm glad it helped.
Maybe worth a fix to the README ?
I've sent a PR to update this, you can take a look at #551.
Sorry about the issue you encountered @janpfeifer but thanks to @apocelipes this should hopefully be resolved.
Describe the bug Follow up of #549 , but the issue now is that
.sccignore
is not processed.Example: my project has all the
.proto
and generated code in a sub-directoryinternal/protos
:Expected behavior The same it does with
.ignore
which is currently working:Desktop (please complete the following information):
OS:
Linux bitly 6.8.0-47-generic #47-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 21:40:26 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
SCC Version: current head, installed 5 minutes ago with
go install github.com/boyter/scc@master