Files
dsk-iac/kubespray/tests/scripts/check_typo.sh
havelight-ee 4c32a7239d update
2023-05-30 14:44:26 +09:00

13 lines
307 B
Bash
Executable File

#!/bin/bash
# cd to the root directory of kubespray
cd $(dirname $0)/../../
rm ./misspell*
set -e
wget https://github.com/client9/misspell/releases/download/v0.3.4/misspell_0.3.4_linux_64bit.tar.gz
tar -zxvf ./misspell_0.3.4_linux_64bit.tar.gz
chmod 755 ./misspell
git ls-files | xargs ./misspell -error