mk 276 B

12345678910111213
  1. #!/bin/bash
  2. echo $COMSPEC | grep WINDOWS > /dev/null
  3. IS_NOT_WINDOWS=$?
  4. ROOT_DIR=`pwd`
  5. if (($IS_NOT_WINDOWS))
  6. then cd build && make release && cd bin/Release/ && ./loopidity
  7. else cd build && MINGW=1 make release && cd bin/Release/ && ./loopidity.exe
  8. fi
  9. cd $ROOT_DIR