LapisSea

Untitled

Mar 15th, 2019
585
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2.  
  3. cd blender
  4. git pull
  5. cd ..
  6.  
  7. :ask
  8. set /p var=Do you want to build? [Y/N]:
  9. if %var%== n goto run
  10. if %var%== N goto run
  11. if %var%== y goto compile
  12. if %var%== Y goto compile
  13. echo Enter y or Y to compile and run or n or N to run
  14. goto ask
  15.  
  16. :run
  17. start /min build_windows_Release_x64_vc15_Release\bin\Release\blender.exe
  18. goto eof
  19.  
  20. :compile
  21. echo updating...
  22. cd blender
  23. start /wait cmd /C make update
  24. cd ..
  25.  
  26. echo building...
  27. start /wait cmd /C build_windows_Release_x64_vc15_Release\rebuild
  28. goto run
  29.  
  30. :eof
Add Comment
Please, Sign In to add comment