Add echos for what is doing
Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
This commit is contained in:
		@@ -58,6 +58,7 @@ function clean() {
 | 
			
		||||
# Build by passing the platform as a variable
 | 
			
		||||
function build() {
 | 
			
		||||
    cd "$_build_folder" || clean_exit 1 "$_error_build_folder"
 | 
			
		||||
    echo -e "\nCompiling for $1...\n"
 | 
			
		||||
    scons "platform=$1" target=template_release
 | 
			
		||||
    scons "platform=$1" target=template_debug
 | 
			
		||||
    cd ..
 | 
			
		||||
@@ -74,7 +75,7 @@ function build() {
 | 
			
		||||
# Analize build process to create compile_commands.json
 | 
			
		||||
function build_db() {
 | 
			
		||||
    cd "$_build_folder" || clean_exit 1 "$_error_build_folder"
 | 
			
		||||
 | 
			
		||||
    echo -e "\nCompiling c++ db...\n"
 | 
			
		||||
    if [ ! -f "../${_bin_folder}/compile_commands.json" ]; then
 | 
			
		||||
        clean "$_default_platform"
 | 
			
		||||
        bear --output "../${_bin_folder}/compile_commands.json" -- scons platform="$_default_platform"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user