Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
clean auto folders in sip test
  • Loading branch information
3nids committed Jun 19, 2018
1 parent cc3e29b commit a719605
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/code_layout/test_sipfiles_uptodate.sh
Expand Up @@ -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
Expand Down

0 comments on commit a719605

Please sign in to comment.