2020-04-17 17:08:54 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2020-04-17 17:49:10 +00:00
|
|
|
[ $1 == "Debug" ] && ./build.sh
|
|
|
|
[ $1 == "Release" ] && ./buildRelease.sh
|
2020-04-17 18:41:20 +00:00
|
|
|
[ $1 == "Debug" ] && cd build
|
|
|
|
[ $1 == "Release" ] && cd buildRelease
|
|
|
|
|
2020-04-18 07:10:27 +00:00
|
|
|
make -j$(nproc) package
|
|
|
|
make -j$(nproc) install
|
2020-04-17 17:08:54 +00:00
|
|
|
cd ..
|
2020-04-18 06:37:05 +00:00
|
|
|
|
2020-04-17 18:41:20 +00:00
|
|
|
[ $1 == "Debug" ] && chmod -R 777 build bin
|
|
|
|
[ $1 == "Release" ] && chmod -R 777 buildRelease bin
|