diff options
| author | 2022-01-09 18:21:40 +0100 | |
|---|---|---|
| committer | 2022-01-09 18:21:40 +0100 | |
| commit | 4e2dff4591bb2062311c1d5bfcdca3ade2a76d16 (patch) | |
| tree | a876374a709f04f919b35ae8e1e53774a0aca39c /Makefile | |
| parent | 9dbbe924c5e54b5dbe486873a9b31a28127c8e62 (diff) | |
Add spell checking with typos (#4138)
* Add spell checking with typos
Implement https://github.com/FreshRSS/FreshRSS/pull/4134#issuecomment-1008027558
* GitHub Actions attempt
* Quiet wget
* Makefile
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -82,6 +82,15 @@ bin/phpcbf: wget -O bin/phpcbf https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.5.5/phpcbf.phar echo '6f64fe00dee53fa7b256f63656dc0154f5964666fc7e535fac86d0078e7dea41 bin/phpcbf' | sha256sum -c - || rm bin/phpcbf +bin/typos: + mkdir -p bin/ + cd bin ; \ + wget -q 'https://github.com/crate-ci/typos/releases/download/v1.3.3/typos-v1.3.3-x86_64-unknown-linux-musl.tar.gz' && \ + tar -xvf *.tar.gz './typos' && \ + chmod +x typos && \ + rm *.tar.gz ; \ + cd .. + ########## ## I18N ## ########## @@ -192,9 +201,13 @@ npm-test: npm-fix: npm run fix +.PHONY: typos-test +typos-test: bin/typos + bin/typos + # TODO: Add shellcheck, shfmt, hadolint .PHONY: test-all -test-all: composer-test npm-test +test-all: composer-test npm-test typos-test .PHONY: fix-all fix-all: composer-fix npm-fix |
