Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- cd blender
- git pull
- cd ..
- :ask
- set /p var=Do you want to build? [Y/N]:
- if %var%== n goto run
- if %var%== N goto run
- if %var%== y goto compile
- if %var%== Y goto compile
- echo Enter y or Y to compile and run or n or N to run
- goto ask
- :run
- start /min build_windows_Release_x64_vc15_Release\bin\Release\blender.exe
- goto eof
- :compile
- echo updating...
- cd blender
- start /wait cmd /C make update
- cd ..
- echo building...
- start /wait cmd /C build_windows_Release_x64_vc15_Release\rebuild
- goto run
- :eof
Add Comment
Please, Sign In to add comment