summaryrefslogtreecommitdiff
path: root/apps/compiler/compiler.sh
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2021-05-04 11:35:24 +0200
committerGitHub <noreply@github.com>2021-05-04 11:35:24 +0200
commitf6c6123d85d467134ee24565c9d98efdfc3a0c41 (patch)
tree2b70863b40601c5f98d2fbe9e8aa51fa150e7ceb /apps/compiler/compiler.sh
parenta1b0c4541762320867aa7e7150c942224c18753d (diff)
feat(docker): production images, integrated ccache and many other improvements (#5551)
Diffstat (limited to 'apps/compiler/compiler.sh')
-rwxr-xr-xapps/compiler/compiler.sh14
1 files changed, 8 insertions, 6 deletions
diff --git a/apps/compiler/compiler.sh b/apps/compiler/compiler.sh
index 168323ea44..140d5fa974 100755
--- a/apps/compiler/compiler.sh
+++ b/apps/compiler/compiler.sh
@@ -18,7 +18,7 @@ function run_option() {
fi
}
-function comp_quit() {
+function comp_quit() {
exit 0
}
@@ -26,15 +26,17 @@ comp_options=(
"build: Configure and compile"
"clean: Clean build files"
"configure: Run CMake"
- "compile: Compile only"
+ "compile: Compile only"
"all: clean, configure and compile"
+ "ccacheClean: Clean ccache files, normally not needed"
"quit: Close this menu")
comp_functions=(
- "comp_build"
- "comp_clean"
- "comp_configure"
+ "comp_build"
+ "comp_clean"
+ "comp_configure"
"comp_compile"
"comp_all"
+ "comp_ccacheClean"
"comp_quit")
PS3='[ Please enter your choice ]: '
@@ -50,7 +52,7 @@ function _switch() {
echo "Available commands:"
printf '%s\n' "${options[@]}"
;;
- *)
+ *)
run_option $_reply $_opt
;;
esac