Skip to content
Permalink
Browse files

[spellcheck] improved script

  • Loading branch information
3nids committed Jan 20, 2017
1 parent 4543835 commit e69263ba2c36bf3a01c668b181a921354743d591
Showing with 292 additions and 133 deletions.
  1. +2 −4 scripts/prepare-commit.sh
  2. +5 −0 scripts/spell_check/.agignore
  3. +195 −129 scripts/spell_check/check_spelling.sh
  4. +90 −0 scripts/spell_check/test.sh
@@ -41,16 +41,14 @@ set -e

# determine changed files
MODIFIED=$(git status --porcelain| sed -ne "s/^ *[MA] *//p" | sort -u)
if [ "$MODIFIED" != "" ]; then
${TOPLEVEL}/scripts/spell_check/check_spelling.sh $MODIFIED
fi


if [ -z "$MODIFIED" ]; then
echo nothing was modified
exit 0
fi

${TOPLEVEL}/scripts/spell_check/check_spelling.sh $MODIFIED

# save original changes
REV=$(git log -n1 --pretty=%H)
git diff >sha-$REV.diff
@@ -10,6 +10,7 @@ python/ext-libs/
python/plugins/processing/algs/otb/
python/plugins/processing/algs/saga/
python/qsci_apis/
src/astyle
src/app/dwg/libdxfrw/
src/app/gps/qwtpolar-1.0/
src/app/gps/qwtpolar-1.1.1/
@@ -34,6 +35,9 @@ debian/qgis-plugin-grass.lintian-overrides
debian/qgis-provider-grass.lintian-overrides
doc/contributors.json
Exception_to_GPL_for_Qt.txt
images/svg/symbol/blue-marker.svg
images/svg/symbol/red-marker.svg
images/themes/default/propertyicons/diagram.svg
images/themes/default/propertyicons/general.svg
images/themes/default/svgbase/hammer.svg
LexerR.py
@@ -50,6 +54,7 @@ resources/cpt-city-qgis-min/selections/div.xml
resources/cpt-city-qgis-min/selections/reds.xml
resources/cpt-city-qgis-min/wkp/schwarzwald/COPYING.xml
scripts/spell_check/spelling.dat
scripts/spell_check/test.sh
src/server/qgis_wms.xmi
tests/testdata/qgis_server_accesscontrol/Hello.qml
tests/testdata/qgis_server_accesscontrol/project.qgs

0 comments on commit e69263b

Please sign in to comment.
You can’t perform that action at this time.