Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
129 changes: 0 additions & 129 deletions copy_projects.cmd

This file was deleted.

48 changes: 0 additions & 48 deletions copy_projects.sh

This file was deleted.

55 changes: 0 additions & 55 deletions generate4.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,56 +23,13 @@ REM Clean directories for generated build artifacts.
rmdir /s /q "output" 2>NUL

call :msg "Current directory: !CD!"
if not exist "!CD!\generate4.xml" (
call :msg_error "Error: 'generate4.xml' not found in '!CD!'."
exit /b 1
) else (
call :msg_success "File 'generate4.xml' appears in '!CD!'."
)

call :msg_heading "Begin Execution context"
call :msg "PATH_INITIAL : !PATH_INITIAL!"
call :msg "PATH_FILE : !PATH_FILE!"
call :msg "GSL_EXE : !GSL_EXE!"
call :msg "GITHUB_PATH : !GITHUB_PATH!"
call :msg_heading "End Execution context"

!GSL_EXE! -q -script:"!CD!\gsl.copy_properties.cmd" "!CD!\generate4.xml"
if %ERRORLEVEL% neq 0 (
call :msg_error "GSL execution failure."
exit /b 1
)

!GSL_EXE! -q -script:"!CD!\gsl.generate_artifacts.cmd" "!CD!\generate4.xml"
if %ERRORLEVEL% neq 0 (
call :msg_error "GSL execution failure."
exit /b 1
)

if not exist "!CD!\copy_properties.cmd" (
call :msg_error "Error: 'copy_properties.cmd' not found in '!CD!'."
exit /b 1
)

call :msg "Execute copy_properties.cmd..."
call "!CD!\copy_properties.cmd"
if %ERRORLEVEL% neq 0 (
call :msg_error "Failure calling 'copy_properties.cmd'."
exit /b 1
)

if not exist "!CD!\generate_artifacts.cmd" (
call :msg_error "Error: 'generate_artifacts.cmd' not found in '!CD!'."
exit /b 1
)

call :msg "Execute generate_artifacts.cmd..."
call "!CD!\generate_artifacts.cmd"
if %ERRORLEVEL% neq 0 (
call :msg_error "Failure calling 'generate_artifacts.cmd'."
exit /b 1
)

if not exist "!CD!\generate.cmd" (
call :msg_error "Error: 'generate.cmd' not found in '!CD!'."
exit /b 1
Expand All @@ -90,18 +47,6 @@ if %ERRORLEVEL% neq 0 (
exit /b 1
)

if not exist "!CD!\copy_projects.cmd" (
call :msg_error "Error: 'copy_projects.cmd' not found in '!CD!'."
exit /b 1
)

call :msg "Execute copy_projects.cmd..."
call "!CD!\copy_projects.cmd" %*
if %ERRORLEVEL% neq 0 (
call :msg_error "Failure calling 'copy_projects.cmd'."
exit /b 1
)

REM Restore directory.
popd
call :msg_success "Script execution completed successfully."
Expand Down
13 changes: 0 additions & 13 deletions generate4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,10 @@ main()
# Clean directories for generated build artifacts.
remove_directory_force "output"

# Generate property copiers and artifact generators.
msg_warn "${GSL} -script:gsl.copy_properties.sh generate4.xml"
eval ${GSL} -script:gsl.copy_properties.sh generate4.xml

# Make property copiers and artifact generators executable.
msg_verbose "Modifying properties of shell scripts."
eval chmod +x copy_properties.sh

# Execute property copiers and artifact generators.

msg "Execute copy_properties.sh..."
eval ./copy_properties.sh
msg "Execute generate.sh..."
eval ./generate.sh version4.xml
msg "Execute copy_projects.sh..."
eval ./copy_projects.sh "$@"

pop_directory
msg_success "Script execution completed successfully."
}
Expand Down
Loading
Loading