Skip to content
Permalink
Browse files

clean auto folders in sip test

  • Loading branch information
3nids committed Jun 19, 2018
1 parent cc3e29b commit a719605ef1ff08e89bba35177e5348c2e222cb45
Showing with 9 additions and 0 deletions.
  1. +9 −0 tests/code_layout/test_sipfiles_uptodate.sh
@@ -16,6 +16,15 @@ modules=(core gui analysis server)

code=0
for module in "${modules[@]}"; do
# clean auto_additions and auto_generated folders
rm -rf python/${module}/auto_additions/*.py
rm -rf python/${module}/auto_generated/*.py
# put back __init__.py
echo '"""
This folder is completed using sipify.pl script
It is not aimed to be manually edited
"""' > python/${module}/auto_additions/__init__.py

module_init=${DIR}/python/${module}/__init__.py
cp ${module_init} ${DIR}/${module}.temp
while read -r sipfile; do

0 comments on commit a719605

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