From f6c6123d85d467134ee24565c9d98efdfc3a0c41 Mon Sep 17 00:00:00 2001 From: Yehonal Date: Tue, 4 May 2021 11:35:24 +0200 Subject: feat(docker): production images, integrated ccache and many other improvements (#5551) --- apps/compiler/compiler.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'apps/compiler/compiler.sh') 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 -- cgit v1.2.3