forked from NickDickinsonWilde/blender_nif_scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakezip.sh
More file actions
executable file
·18 lines (14 loc) · 822 Bytes
/
makezip.sh
File metadata and controls
executable file
·18 lines (14 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
git clean -x -f -d
./install.sh
VERSION="2.5.5"
NAME="blender_nif_scripts"
FILES="scripts/import/import_nif.py scripts/export/export_nif.py scripts/bpymodules/nif_common.py scripts/bpymodules/nif_test.py scripts/mesh/mesh_niftools_weightsquash.py scripts/mesh/mesh_niftools_hull.py scripts/object/object_niftools_set_bone_priority.py scripts/object/object_niftools_save_bone_pose.py scripts/object/object_niftools_load_bone_pose.py scripts/mesh/mesh_niftools_morphcopy.py ChangeLog README.html install.sh install.bat docs/*.*"
# update documentation
rm -rf docs
blender -P runepydoc.py
rm -f "${NAME}-${VERSION}".*
zip -9 "${NAME}-${VERSION}.zip" ${FILES}
tar cfvj "${NAME}-${VERSION}.tar.bz2" ${FILES}
# create windows installer
rm -f "win-install/${NAME}-${VERSION}-windows.exe"
makensis -V3 win-install/${NAME}.nsi