build.pl

 

@startuml
start

If (defined environment variable COMMON_ENV_TOOLS) then (yes) 
  : add  Environment $COMMON_ENV_TOOLS/ modules to lookuplist;
else (No)
endif

if (defined environment variable CWS_WORK_STAMP then (yes)
 : import GenInfoParser, IO::Handle;
else (No)
endif

if (defined environment variable VERBOSE or verbose then (yes)
 : set State verbose;
else (No)
endif

if (build arguments)then (none given)
  : enable XML;
  : read environment BUILD_TYPE\n into array;
else ()
endif
:get scrpit_name;
:set global variabes;
#green:get Options;
#green:get build modes;
if (Variable prepare) then (is filled)
  #green : get platforms;
  : set deliver environment variables;
else ()
endif
#green: get_workspace_path & initial modul;
#yellow: get additional repository directories set by configure;
#green: instanciate SourceConfig;
#green: check partial gnu make build;
if (html switch & html_path defined) then (is set)
 #yellow: set correct log path;
else (html_path is not defined)
 :write error information;
endif
if (is defined generate_config && (is_defined clear_config || (scalar keys remove_from_config)||(scalar keys add_to_config))) then (is true)
    #green: generate_config_file();
    #red : exit 0;
 else ()
endif
if (environment variables CWS_WORK_STAMP and COMMON_ENV_TOOLS) then (are defined)
  #green : call provide consistency;
else ()
endif
if (html) then (is defined)
  :add "-verbose" to deliver_command;
else ()
endif
if (dlv_switch) then (is defined)
  : add dlv_switch to deliver_command;
else ()
endif
: raise envoirenment variable mk_tmp by one;
#green : call get_commands;
: delete file stored in variable cmd_file;
if (cmd_file) then (is defined)
  : add echo command to it;
else ()
endif
#red: to be continued;

stop
@enduml