Correct Copy Process

because the package names have changed (have the scripts in line with docker-compile.sh)
This commit is contained in:
lordgrey.emmel@gmail.com
2019-07-18 12:26:02 -07:00
parent 61bffa6dd8
commit 74a4bf1557
2 changed files with 12 additions and 12 deletions

View File

@@ -10,23 +10,23 @@ make_release()
PLATFORM=$2
shift 2
rm -r build-${RELEASE}
mkdir -p build-${RELEASE}
rm -r hyperion.ng-${RELEASE}
mkdir -p hyperion.ng-${RELEASE}
rm -r deploy/${RELEASE}
mkdir -p deploy/${RELEASE}
cd build-${RELEASE}
cd hyperion.ng-${RELEASE}
cmake -DCMAKE_INSTALL_PREFIX=/usr -DPLATFORM=${PLATFORM} $@ -DCMAKE_BUILD_TYPE=Release -Wno-dev .. || exit 1
make -j $(nproc) || exit 1
#strip bin/*
make package -j $(nproc)
mv Hyperion-*.* ../deploy/${RELEASE}
mv Hyperion.NG-* ../deploy/${RELEASE}
cd ..
bin/create_release.sh . ${RELEASE}
}
CMAKE_PROTOC_FLAG="-DIMPORT_PROTOC=../build-x86x64/protoc_export.cmake"
CMAKE_FLATC_FLAG="-DIMPORT_FLATC=../build-x86x64/flatc_export.cmake"
CMAKE_PROTOC_FLAG="-DIMPORT_PROTOC=../hyperion.ng-x86x64/protoc_export.cmake"
CMAKE_FLATC_FLAG="-DIMPORT_FLATC=../hyperion.ng-x86x64/flatc_export.cmake"
make_release x86x64 x86
#make_release x32 x86 -DCMAKE_TOOLCHAIN_FILE="../cmake/Toolchain-x32.cmake" ${CMAKE_PROTOC_FLAG} ${CMAKE_FLATC_FLAG}