Update file names in build scripts (#2339)

* JSON parser: Use array for function params (#2255)

* Parser: follow C convention of type before name

* Update file names in build scripts
This commit is contained in:
gtrxAC 2022-02-10 21:51:46 +02:00 committed by GitHub
parent 96452637d9
commit 30797d3201
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 15 deletions

10
projects/scripts/build-linux.sh Normal file → Executable file
View File

@ -24,7 +24,7 @@ set -e
while getopts ":hdusrcq" opt; do
case $opt in
h)
echo "Usage: ./linux-build.sh [-hdusrcqq]"
echo "Usage: ./build-linux.sh [-hdusrcqq]"
echo " -h Show this information"
echo " -d Faster builds that have debug symbols, and enable warnings"
echo " -u Run upx* on the executable after compilation (before -r)"
@ -39,10 +39,10 @@ while getopts ":hdusrcq" opt; do
echo " requires that you have upx installed and on your path, of course."
echo ""
echo "Examples:"
echo " Build a release build: ./linux-build.sh"
echo " Build a release build, full recompile: ./linux-build.sh -c"
echo " Build a debug build and run: ./linux-build.sh -d -r"
echo " Build in debug, run, don't print at all: ./linux-build.sh -drqq"
echo " Build a release build: ./build-linux.sh"
echo " Build a release build, full recompile: ./build-linux.sh -c"
echo " Build a debug build and run: ./build-linux.sh -d -r"
echo " Build in debug, run, don't print at all: ./build-linux.sh -drqq"
exit 0
;;
d)

10
projects/scripts/build-osx.sh Normal file → Executable file
View File

@ -24,7 +24,7 @@ set -e
while getopts ":hdusrcq" opt; do
case $opt in
h)
echo "Usage: ./osx-build.sh [-hdusrcqq]"
echo "Usage: ./build-osx.sh [-hdusrcqq]"
echo " -h Show this information"
echo " -d Faster builds that have debug symbols, and enable warnings"
echo " -u Run upx* on the executable after compilation (before -r)"
@ -39,10 +39,10 @@ while getopts ":hdusrcq" opt; do
echo " requires that you have upx installed and on your path, of course."
echo ""
echo "Examples:"
echo " Build a release build: ./osx-build.sh"
echo " Build a release build, full recompile: ./osx-build.sh -c"
echo " Build a debug build and run: ./osx-build.sh -d -r"
echo " Build in debug, run, don't print at all: ./osx-build.sh -drqq"
echo " Build a release build: ./build-osx.sh"
echo " Build a release build, full recompile: ./build-osx.sh -c"
echo " Build a debug build and run: ./build-osx.sh -d -r"
echo " Build in debug, run, don't print at all: ./build-osx.sh -drqq"
exit 0
;;
d)

View File

@ -24,7 +24,7 @@ set -e
while getopts ":hdusrcq" opt; do
case $opt in
h)
echo "Usage: ./linux-build.sh [-hdusrcqq]"
echo "Usage: ./build-rpi.sh [-hdusrcqq]"
echo " -h Show this information"
echo " -d Faster builds that have debug symbols, and enable warnings"
echo " -u Run upx* on the executable after compilation (before -r)"
@ -39,10 +39,10 @@ while getopts ":hdusrcq" opt; do
echo " requires that you have upx installed and on your path, of course."
echo ""
echo "Examples:"
echo " Build a release build: ./linux-build.sh"
echo " Build a release build, full recompile: ./linux-build.sh -c"
echo " Build a debug build and run: ./linux-build.sh -d -r"
echo " Build in debug, run, don't print at all: ./linux-build.sh -drqq"
echo " Build a release build: ./build-rpi.sh"
echo " Build a release build, full recompile: ./build-rpi.sh -c"
echo " Build a debug build and run: ./build-rpi.sh -d -r"
echo " Build in debug, run, don't print at all: ./build-rpi.sh -drqq"
exit 0
;;
d)