GNUmakefile: add spellfix target, use it. (#4387)

TODO: Remove the go.mod/go.sum in internal/tools once doing so doesn't break CI (e.g. once we drop support for go 1.19)

* builder/cc1as.h: fix typo found by 'make spell'
* GNUmakefile: remove exception for inbetween, fix instance now found by 'make spell'
* GNUmakefile: remove exception for programmmer, fix instance now found by 'make spell'
* go.mod: use updated misspell. GNUmakefile: add spellfix target, use it.
* ignore directories properly when invoking spellchecker.
* make spell: give internal/tools its own go.mod, as misspell requires newer go
* make lint: depend on tools and run the installed revive
(which was perhaps implied by the change that added revive to internal/tools,
but not required in GNUmakefile until we gave internal/tools its own temporary go.mod)
* .github: now that 'make spell' works well, run it from CI
* GNUmakefile: make spell now aborts if it finds misspelt words, so what it finds doesn't get lost in CI logs
* GNUmakefile: tools: avoid -C option on go generate to make test-llvm15-go119 circleci job happy, see
https://cs.opensource.google/go/go/+/2af48cbb7d85e5fdc635e75b99f949010c607786
* internal/tools/go.mod: fix format of go version to leave out patchlevel, else go complains.
This commit is contained in:
dkegel-fastly
2024-08-12 14:24:38 -07:00
committed by GitHub
parent 835e73237e
commit 8135be4e90
45 changed files with 169 additions and 93 deletions
+22
View File
@@ -0,0 +1,22 @@
acuire, acquire
adust, adjust
allcoate, allocate
archtecture, architecture
arcive, archive
configration, configuration
contants, constants
cricital, critical
evaulator, evaluator
freqency, frequency
frquency, frequency
implmented, implemented
interrput, interrupt
interrut, interrupt
poitner, pointer
probbably, probably
refection, reflection
satisifying, satisfying
simulataneously, simultaneously
suggets, suggests
undefied, undefined
unsiged, unsigned
1 acuire acquire
2 adust adjust
3 allcoate allocate
4 archtecture architecture
5 arcive archive
6 configration configuration
7 contants constants
8 cricital critical
9 evaulator evaluator
10 freqency frequency
11 frquency frequency
12 implmented implemented
13 interrput interrupt
14 interrut interrupt
15 poitner pointer
16 probbably probably
17 refection reflection
18 satisifying satisfying
19 simulataneously simultaneously
20 suggets suggests
21 undefied undefined
22 unsiged unsigned