Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ mkdir -p config/m4 config/aux

if [ "X$with_ucg" = "Xyes" ]
then
git submodule update --init --recursive --remote
git submodule update --init --recursive --remote src/ucg
elif [ -f src/ucg/configure.m4 ]
then
git submodule deinit -f src/ucg
fi

autoreconf -v --install || exit 1
Expand Down
10 changes: 9 additions & 1 deletion buildlib/tools/codestyle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,17 @@ codestyle_check_commit_title() {
return $err
}

codespell_skip_args() {
for path in $(git config --file .gitmodules --get-regexp path | cut -f2 -d' ')
do
echo --skip "./$path/*"
done
}

codestyle_check_spell() {
python3 -m venv /tmp/codespell_env
source /tmp/codespell_env/bin/activate
pip3 install codespell
codespell "$@"

codespell $(codespell_skip_args) "$@"
}
Loading