pass -noaudio when running blender for various utilities - doc-gen and tests.
[blender.git] / source / blender / makesrna / rna_cleanup / rna_update.sh
1 cd ../../../../
2 ./blender.bin --background -noaudio --python ./release/scripts/modules/rna_info.py 2> source/blender/makesrna/rna_cleanup/out.txt
3 cd ./source/blender/makesrna/rna_cleanup/
4 ./rna_cleaner.py out.txt
5 ./rna_cleaner.py rna_properties.txt
6 ./rna_cleaner_merge.py out_work.py rna_properties_work.py
7 ./rna_cleaner.py out_work_merged.py
8 ./rna_cleaner.py out_work_lost.py
9 mv out_work_merged_work.txt rna_properties.txt # overwrite
10 mv out_work_lost_work.txt rna_properties_lost.txt
11 cat rna_properties.txt | grep -v "^#" > rna_properties_edits.txt
12 ./rna_cleaner.py rna_properties.txt
13 echo "Updated: rna_properties.txt rna_properties_edits.txt rna_properties_lost.txt "