diff --git a/build/Readme.md b/build/Readme.md deleted file mode 100644 index ddfd8640..00000000 --- a/build/Readme.md +++ /dev/null @@ -1 +0,0 @@ -Based on: https://github.com/zer0main/battleship \ No newline at end of file diff --git a/build/linux/build.sh b/build/linux/build.sh deleted file mode 100755 index 18dea47c..00000000 --- a/build/linux/build.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -set -xue -#$TRAVIS_TAG-build-$TRAVIS_BUILD_NUMBER -#cmake . -Bbuild-dir -DVERSION:STRING="${TRAVIS_TAG}-build-${TRAVIS_BUILD_NUMBER}" -#cmake --build build-dir - -make test - -set +xue diff --git a/build/linux/package.sh b/build/linux/package.sh deleted file mode 100755 index 34e3915d..00000000 --- a/build/linux/package.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -set -xue - - -#DEPLOY_FILE=tuo_@VERSION@_${TUO_PLATFORM}.exe - -#cp build-dir/tuo $TUO_FILE - - -set +xue diff --git a/build/linux/requirements.sh b/build/linux/requirements.sh deleted file mode 100755 index 8758e662..00000000 --- a/build/linux/requirements.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -set -xue - -sudo apt-get update - -sudo apt-get --yes install \ - g++ make cmake \ - libboost-all-dev \ - -set +xue diff --git a/build/linux/test.sh b/build/linux/test.sh deleted file mode 100644 index 2b4838e2..00000000 --- a/build/linux/test.sh +++ /dev/null @@ -1 +0,0 @@ -./tuo-test --log_level=message \ No newline at end of file diff --git a/build/mac/build.sh b/build/mac/build.sh deleted file mode 100755 index 5d074829..00000000 --- a/build/mac/build.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -set -xue - -make -make debug - -chmod 755 tuo.osx - -./tuo.osx -version - - -#cp tuo.osx $TUO_FILE_32 - -#cp tuo.osx $TUO_FILE_64 - -set +xue diff --git a/build/mac/package.sh b/build/mac/package.sh deleted file mode 100755 index d390bb29..00000000 --- a/build/mac/package.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -set -xue - - -#DEPLOY_FILE=tuo_@VERSION@_${TUO_PLATFORM}.exe - -#cp build-dir/tuo $TUO_FILE - -export TUO_FILE_ZIP="tuo.${TRAVIS_TAG}_64_bit_osx.zip" - -#ls -la - -zip -r "$TUO_FILE_ZIP" data/ *.osx - - -set +xue diff --git a/build/mac/requirements.sh b/build/mac/requirements.sh deleted file mode 100755 index 968a037d..00000000 --- a/build/mac/requirements.sh +++ /dev/null @@ -1,3 +0,0 @@ -#brew update -#brew install cmake -#brew install boost \ No newline at end of file diff --git a/build/mac/test.sh b/build/mac/test.sh deleted file mode 100644 index 66277bd5..00000000 --- a/build/mac/test.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -set -xue - - -#DEPLOY_FILE=tuo_@VERSION@_${TUO_PLATFORM}.exe - -#cp build-dir/tuo $TUO_FILE - -echo "NOP" - -set +xue diff --git a/build/windows/build.sh b/build/windows/build.sh deleted file mode 100755 index b6a28494..00000000 --- a/build/windows/build.sh +++ /dev/null @@ -1,59 +0,0 @@ -#!/bin/bash - -set -xue - -#Linux Build -make all -MXE_DIR=/usr/lib/mxe - - -declare -a a_openmp=("" "-openmp" ) -declare -a a_debug=("" "-debug" "-time") -declare -a a_bit=("" "-x86" ) - -for omp in "${a_openmp[@]}" -do -for dbg in "${a_debug[@]}" -do -for bit in "${a_bit[@]}" -do - -DFLAGS="" -BDIR="build-dir${bit}${omp}${dbg}" -NAME="tuo${bit}${omp}${dbg}.exe" - -if [ "$bit" = "" ]; then -#Windows x64 Build -MXE_TARGET=x86_64-w64-mingw32.static -fi -if [ "$bit" = "-x86" ]; then -#Windows x86 Build -MXE_TARGET=i686-w64-mingw32.static -fi - -#No windows timer on default -if [ "$dbg" = "" ]; then -DFLAGS="${DFLAGS} -DDEBUG:STRING=\"-DNTIMER\"" -fi -#activate openmp -if [ "$omp" = "-openmp" ]; then -DFLAGS="${DFLAGS} -DUSE_OPENMP=ON" -fi -#prep cmake -${MXE_DIR}/usr/bin/${MXE_TARGET}-cmake . -B${BDIR} -DVERSION:STRING="${TRAVIS_TAG}${bit}${omp}${dbg}" ${DFLAGS} - -#cmake sets dndebug by default => remove that -if [ "$dbg" = "-debug" ]; then -sed -i -e 's/-DNDEBUG//g' ${BDIR}/CMakeCache.txt -fi - -# compile -cmake --build ${BDIR} - -mv ${BDIR}/tuo.exe ${NAME} - -done -done -done - -set +xue diff --git a/build/windows/package.sh b/build/windows/package.sh deleted file mode 100755 index 7992a26e..00000000 --- a/build/windows/package.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -set -xue - - -#FILE=tuo_@VERSION@_${TUO_PLATFORM}.exe - -#cp build-dir/tuo.exe $TUO_FILE - -export TUO_FILE_ZIP="tuo.${TRAVIS_TAG}_32+64_bit.zip" - -#ls -la - -zip -r "$TUO_FILE_ZIP" data/ SimpleTUOptimizeStarter.ahk *.exe - - - - - -set +xue diff --git a/build/windows/requirements.sh b/build/windows/requirements.sh deleted file mode 100755 index ea6c07c3..00000000 --- a/build/windows/requirements.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -set -xue - -sudo add-apt-repository -y ppa:mhier/libboost-latest -sudo apt-get update - -echo "deb http://mirror.mxe.cc/repos/apt/ trusty main" \ - | sudo tee /etc/apt/sources.list.d/mxeapt.list -sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C6BF758A33A3A276 - -sudo apt-get update -#Linux -sudo apt-get --yes install \ - g++ make cmake \ - libboost1.68-dev \ -#Windows -MXE_TARGET=i686-w64-mingw32.static -MXE2_TARGET=$(echo "$MXE_TARGET" | sed 's/_/-/g') -sudo apt-get --yes install \ - mxe-${MXE2_TARGET}-boost - - -MXE_TARGET=x86-64-w64-mingw32.static - -MXE2_TARGET=$(echo "$MXE_TARGET" | sed 's/_/-/g') -sudo apt-get --yes install \ - mxe-${MXE2_TARGET}-boost - -#Coveralls -pip install --user cpp-coveralls - -set +xue diff --git a/build/windows/test.sh b/build/windows/test.sh deleted file mode 100644 index 6061880b..00000000 --- a/build/windows/test.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -set -xue - -./tuo-test --log_level=message -- 10 - -set +xue