#
# This script is only designed specifically for bootstrap compiling the FLL project and does not necessarily fully follow the fake (featureless make) build process.
-generate_main(){
+generate_main() {
local public_name="Simple FLL Project Make Script"
local system_name=generate
local called_name=$(basename $0)
return 0
}
-generate_handle_colors(){
+generate_handle_colors() {
if [[ $do_color == "light" ]] ; then
c_error="\\033[1;31m"
c_warning="\\033[0;31m"
fi
}
-generate_help(){
+generate_help() {
echo
echo -e "${c_title}$public_name$c_reset"
echo -e " ${c_notice}Version $version$c_reset"
echo
}
-generate_id(){
+generate_id() {
local name=$1
case $name in
esac
}
-generate_load_settings(){
+generate_load_settings() {
local failure=
local i=
local key=
done
}
-generate_load_settings_mode(){
+generate_load_settings_mode() {
local i=
for i in build_libraries-$mode build_sources_headers-$mode build_sources_library-$mode build_sources_program-$mode build_sources_setting-$mode build_sources_script-$mode defines_all-$mode defines_shared-$mode defines_static-$mode environment-$mode flags_all-$mode flags_library-$mode flags_program-$mode flags_shared-$mode flags_static-$mode ; do
done
}
-generate_prepare_build(){
+generate_prepare_build() {
local failure=
local alt=$1
local i=
touch ${project_built}.prepared
}
-generate_operation_build(){
+generate_operation_build() {
local failure=
local name=${variables[$(generate_id project_name)]}
local major=${variables[$(generate_id version_major)]}
touch ${project_built}.built
}
-generate_operation_clean(){
+generate_operation_clean() {
local i=
for i in ${path_build}{documents,includes,libraries,objects,programs,settings,stage} ; do
fi
}
-generate_cleanup(){
+generate_cleanup() {
unset generate_main
unset generate_handle_colors
unset generate_help
# Settings files are not copied over, but a warning will be printed to inform the installer of their existence.
# The dependencies of this script are: bash, grep, and sed.
-install_main(){
+install_main() {
local public_name="Simple FLL Project Install Script"
local system_name=install
local called_name=$(basename $0)
return 0
}
-install_handle_colors(){
+install_handle_colors() {
if [[ $do_color == "light" ]] ; then
c_error="\\033[1;31m"
c_warning="\\033[0;31m"
fi
}
-install_help(){
+install_help() {
echo
echo -e "${c_title}$public_name$c_reset"
echo -e " ${c_notice}Version $version$c_reset"
echo
}
-install_id(){
+install_id() {
local name=$1
case $name in
esac
}
-install_load_settings(){
+install_load_settings() {
local failure=
local i=
done
}
-install_perform_install(){
+install_perform_install() {
local build_sources_library=${variables[$(install_id build_sources_library)]}
local build_sources_program=${variables[$(install_id build_sources_program)]}
local build_sources_headers=${variables[$(install_id build_sources_headers)]}
fi
}
-install_cleanup(){
+install_cleanup() {
unset install_main
unset install_handle_colors
unset install_help