Browse Source

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
gtrxAC 3 years ago
parent
commit
30797d3201
3 changed files with 15 additions and 15 deletions
  1. 5 5
      projects/scripts/build-linux.sh
  2. 5 5
      projects/scripts/build-osx.sh
  3. 5 5
      projects/scripts/build-rpi.sh

+ 5 - 5
projects/scripts/build-linux.sh

@@ -24,7 +24,7 @@ set -e
 while getopts ":hdusrcq" opt; do
 while getopts ":hdusrcq" opt; do
     case $opt in
     case $opt in
         h)
         h)
-            echo "Usage: ./linux-build.sh [-hdusrcqq]"
+            echo "Usage: ./build-linux.sh [-hdusrcqq]"
             echo " -h  Show this information"
             echo " -h  Show this information"
             echo " -d  Faster builds that have debug symbols, and enable warnings"
             echo " -d  Faster builds that have debug symbols, and enable warnings"
             echo " -u  Run upx* on the executable after compilation (before -r)"
             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 "  requires that you have upx installed and on your path, of course."
             echo ""
             echo ""
             echo "Examples:"
             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
             exit 0
             ;;
             ;;
         d)
         d)

+ 5 - 5
projects/scripts/build-osx.sh

@@ -24,7 +24,7 @@ set -e
 while getopts ":hdusrcq" opt; do
 while getopts ":hdusrcq" opt; do
     case $opt in
     case $opt in
         h)
         h)
-            echo "Usage: ./osx-build.sh [-hdusrcqq]"
+            echo "Usage: ./build-osx.sh [-hdusrcqq]"
             echo " -h  Show this information"
             echo " -h  Show this information"
             echo " -d  Faster builds that have debug symbols, and enable warnings"
             echo " -d  Faster builds that have debug symbols, and enable warnings"
             echo " -u  Run upx* on the executable after compilation (before -r)"
             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 "  requires that you have upx installed and on your path, of course."
             echo ""
             echo ""
             echo "Examples:"
             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
             exit 0
             ;;
             ;;
         d)
         d)

+ 5 - 5
projects/scripts/build-rpi.sh

@@ -24,7 +24,7 @@ set -e
 while getopts ":hdusrcq" opt; do
 while getopts ":hdusrcq" opt; do
     case $opt in
     case $opt in
         h)
         h)
-            echo "Usage: ./linux-build.sh [-hdusrcqq]"
+            echo "Usage: ./build-rpi.sh [-hdusrcqq]"
             echo " -h  Show this information"
             echo " -h  Show this information"
             echo " -d  Faster builds that have debug symbols, and enable warnings"
             echo " -d  Faster builds that have debug symbols, and enable warnings"
             echo " -u  Run upx* on the executable after compilation (before -r)"
             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 "  requires that you have upx installed and on your path, of course."
             echo ""
             echo ""
             echo "Examples:"
             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
             exit 0
             ;;
             ;;
         d)
         d)