Skip to content

Commit

Permalink
Adds in proper .gitignore support (#451)
Browse files Browse the repository at this point in the history
* start move to proper git support

* start to hook it all up

* first attempt at proper git ignore logic

* refactor out redundant code

* remove non required import

* move to go code walker 1.3.0 for multi dir

* tweak to use parallel file walker when possible

* continue to tweak

* resolve noop operation with new import

* ready for merge
  • Loading branch information
boyter committed Apr 30, 2024
1 parent c4900ef commit 33cb71d
Show file tree
Hide file tree
Showing 52 changed files with 3,776 additions and 785 deletions.
2 changes: 1 addition & 1 deletion LANGUAGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Monkey C (mc)
MQL Header (mqh)
MQL4 (mq4)
MQL5 (mq5)
MSBuild (csproj,vbproj,fsproj,vcproj,vcxproj,vcxproj.filters,myapp,props,rdlc,resx,settings,sln,targets)
MSBuild (csproj,vbproj,fsproj,vcproj,vcxproj,vcxproj.filters,ilproj,myapp,props,rdlc,resx,settings,sln,targets)
MUMPS (mps)
Mustache (mustache)
Nial (ndf)
Expand Down
151 changes: 80 additions & 71 deletions SCC-OUTPUT-REPORT.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
<tbody><tr>
<th>Go</th>
<th>40</th>
<th>9829</th>
<th>1554</th>
<th>465</th>
<th>7810</th>
<th>1593</th>
<th>400883</th>
<th>9572</th>
<th>1509</th>
<th>451</th>
<th>7612</th>
<th>1546</th>
<th>397903</th>
</tr><tr>
<th>Java</th>
<th>24</th>
Expand All @@ -39,12 +39,12 @@
</tr><tr>
<th>Markdown</th>
<th>11</th>
<th>1492</th>
<th>1497</th>
<th>362</th>
<th>0</th>
<th>1130</th>
<th>1135</th>
<th>0</th>
<th>60283</th>
<th>60393</th>
</tr><tr>
<th>Python</th>
<th>11</th>
Expand All @@ -56,13 +56,13 @@
<th>18844</th>
</tr><tr>
<th>YAML</th>
<th>9</th>
<th>906</th>
<th>8</th>
<th>394</th>
<th>66</th>
<th>62</th>
<th>778</th>
<th>61</th>
<th>267</th>
<th>0</th>
<th>18672</th>
<th>12132</th>
</tr><tr>
<th>CSS</th>
<th>5</th>
Expand Down Expand Up @@ -102,12 +102,12 @@
</tr><tr>
<th>Shell</th>
<th>3</th>
<th>1176</th>
<th>156</th>
<th>1158</th>
<th>154</th>
<th>92</th>
<th>928</th>
<th>106</th>
<th>41877</th>
<th>912</th>
<th>104</th>
<th>41219</th>
</tr><tr>
<th>C#</th>
<th>2</th>
Expand All @@ -126,24 +126,6 @@
<th>12</th>
<th>0</th>
<th>268</th>
</tr><tr>
<th>HTML</th>
<th>2</th>
<th>1540</th>
<th>0</th>
<th>0</th>
<th>1540</th>
<th>0</th>
<th>22334</th>
</tr><tr>
<th>JSON</th>
<th>2</th>
<th>8877</th>
<th>8</th>
<th>0</th>
<th>8869</th>
<th>0</th>
<th>136751</th>
</tr><tr>
<th>JavaServer Pages</th>
<th>2</th>
Expand Down Expand Up @@ -207,6 +189,15 @@
<th>4</th>
<th>0</th>
<th>1238</th>
</tr><tr>
<th>Arturo</th>
<th>1</th>
<th>417</th>
<th>66</th>
<th>89</th>
<th>262</th>
<th>20</th>
<th>9981</th>
</tr><tr>
<th>BASH</th>
<th>1</th>
Expand Down Expand Up @@ -288,15 +279,6 @@
<th>3</th>
<th>0</th>
<th>76</th>
</tr><tr>
<th>CSV</th>
<th>1</th>
<th>84</th>
<th>0</th>
<th>0</th>
<th>84</th>
<th>0</th>
<th>2224</th>
</tr><tr>
<th>Cairo</th>
<th>1</th>
Expand Down Expand Up @@ -495,6 +477,15 @@
<th>10</th>
<th>0</th>
<th>245</th>
</tr><tr>
<th>HTML</th>
<th>1</th>
<th>824</th>
<th>0</th>
<th>0</th>
<th>824</th>
<th>0</th>
<th>11947</th>
</tr><tr>
<th>Hare</th>
<th>1</th>
Expand All @@ -513,6 +504,33 @@
<th>7</th>
<th>0</th>
<th>226</th>
</tr><tr>
<th>JSON</th>
<th>1</th>
<th>9024</th>
<th>8</th>
<th>0</th>
<th>9016</th>
<th>0</th>
<th>126488</th>
</tr><tr>
<th>JSONC</th>
<th>1</th>
<th>9</th>
<th>0</th>
<th>6</th>
<th>3</th>
<th>0</th>
<th>96</th>
</tr><tr>
<th>Jsonnet</th>
<th>1</th>
<th>40</th>
<th>6</th>
<th>5</th>
<th>29</th>
<th>3</th>
<th>559</th>
</tr><tr>
<th>Korn Shell</th>
<th>1</th>
Expand Down Expand Up @@ -639,15 +657,6 @@
<th>0</th>
<th>0</th>
<th>0</th>
</tr><tr>
<th>SQL</th>
<th>1</th>
<th>225</th>
<th>0</th>
<th>0</th>
<th>225</th>
<th>0</th>
<th>26445</th>
</tr><tr>
<th>Sieve</th>
<th>1</th>
Expand All @@ -657,15 +666,6 @@
<th>164</th>
<th>47</th>
<th>5941</th>
</tr><tr>
<th>TOML</th>
<th>1</th>
<th>8</th>
<th>2</th>
<th>0</th>
<th>6</th>
<th>0</th>
<th>126</th>
</tr><tr>
<th>Teal</th>
<th>1</th>
Expand Down Expand Up @@ -738,6 +738,15 @@
<th>1</th>
<th>0</th>
<th>19</th>
</tr><tr>
<th>Windows Resource-Definition Script</th>
<th>1</th>
<th>51</th>
<th>6</th>
<th>6</th>
<th>39</th>
<th>0</th>
<th>1888</th>
</tr><tr>
<th>Wren</th>
<th>1</th>
Expand Down Expand Up @@ -786,12 +795,12 @@
</tr></tbody>
<tfoot><tr>
<th>Total</th>
<th>211</th>
<th>95558</th>
<th>4610</th>
<th>5860</th>
<th>85088</th>
<th>2958</th>
<th>3191023</th>
<th>209</th>
<th>94407</th>
<th>4639</th>
<th>5951</th>
<th>83817</th>
<th>2932</th>
<th>3144034</th>
</tr></tfoot>
</table></body></html>
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/boyter/scc/v3
go 1.20

require (
github.com/dbaggerman/cuba v0.3.2
github.com/boyter/gocodewalker v1.3.1
github.com/json-iterator/go v1.1.12
github.com/mattn/go-runewidth v0.0.14
github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1
Expand All @@ -14,12 +14,14 @@ require (
)

require (
github.com/danwakefield/fnmatch v0.0.0-20160403171240-cbb64ac3d964 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/rivo/uniseg v0.4.4 // indirect
github.com/spf13/pflag v1.0.5 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.10.0 // indirect
)
10 changes: 10 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
github.com/boyter/gocodewalker v1.2.1 h1:9hrgoPjJgM1D9rDtoJpYtD1vyUShibZ88jvSGv+OZl4=
github.com/boyter/gocodewalker v1.2.1/go.mod h1:5k2pF0g2D5U2D7DMhnHvKKf/76c1WfW38AEImdM1BQk=
github.com/boyter/gocodewalker v1.3.0 h1:s1m4C4M0CIWudTm0U3Tp9ruA/SAL2snN9ZgyURdjXXA=
github.com/boyter/gocodewalker v1.3.0/go.mod h1:hXG8xzR1uURS+99P5/3xh3uWHjaV2XfoMMmvPyhrCDg=
github.com/boyter/gocodewalker v1.3.1 h1:rMKM5OCdTdEbNwOTUyZcoaxkY6Menr+IUMuQhKZRFZU=
github.com/boyter/gocodewalker v1.3.1/go.mod h1:hXG8xzR1uURS+99P5/3xh3uWHjaV2XfoMMmvPyhrCDg=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/danwakefield/fnmatch v0.0.0-20160403171240-cbb64ac3d964 h1:y5HC9v93H5EPKqaS1UYVg1uYah5Xf51mBfIoWehClUQ=
github.com/danwakefield/fnmatch v0.0.0-20160403171240-cbb64ac3d964/go.mod h1:Xd9hchkHSWYkEqJwUGisez3G1QY8Ryz0sdWrLPMGjLk=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down Expand Up @@ -47,6 +55,8 @@ github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M=
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
Expand Down
4 changes: 2 additions & 2 deletions processor/constants.go

Large diffs are not rendered by default.

Loading

0 comments on commit 33cb71d

Please sign in to comment.