1234567891011121314151617181920212223242526272829303132333435363738 |
- #!/usr/bin/env bash
- set -x
- QSPFILE=glife.qsp
- python tools/txtmerge.py locations glife.txt
- if [[ "$OSTYPE" == "linux-gnu" ]]; then
- ./tools/txt2gam.linux glife.txt "${QSPFILE}" 1> /dev/null
- elif [[ "$OSTYPE" == "darwin"* ]]; then
- ./tools/txt2gam.mac glife.txt "${QSPFILE}" 1> /dev/null
- elif [[ "$OSTYPE" == "msys" ]]; then
- if [[ "$MSYSTEM_CARCH" == "x86_64" ]]; then
- ./tools/txt2gam64.exe glife.txt "${QSPFILE}" 1> /dev/null
- else
- ./tools/txt2gam.exe glife.txt "${QSPFILE}" 1> /dev/null
- fi
- elif [[ "$OSTYPE" == "cygwin" ]]; then
-
-
- if [[ "$PROCESSOR_ARCHITECTURE" == "x86_64" ]]; then
- ./tools/txt2gam64.exe glife.txt "${QSPFILE}" 1> /dev/null
- elif [[ "$PROCESSOR_ARCHITECTURE" == "AMD64" ]]; then
- ./tools/txt2gam64.exe glife.txt "${QSPFILE}" 1> /dev/null
- else
- ./tools/txt2gam.exe glife.txt "${QSPFILE}" 1> /dev/null
- fi
- fi
- if [ -d "${DESTDIR}" ]; then
- cp --reflink=auto "${QSPFILE}" "${DESTDIR}"
- fi
|