.builddry.sh 349 B

12345678910111213141516171819202122
  1. #!/bin/sh
  2. # abort this script on any error
  3. set -e
  4. cd `dirname $0`;
  5. if [ ! -d Dry ]
  6. then
  7. git clone https://gitlab.com/luckeyproductions/Dry
  8. cd Dry
  9. else
  10. cd Dry
  11. git checkout master
  12. git pull
  13. fi
  14. ./script/cmake_clean.sh
  15. ./script/cmake_generic.sh . \
  16. -DDRY_ANGELSCRIPT=0 -DDRY_2D=0 \
  17. -DDRY_SAMPLES=0 -DDRY_TOOLS=0
  18. make
  19. cd ..