From e23c55e5c98b6e05fe478ed71ba7e4d97d47cce9 Mon Sep 17 00:00:00 2001 From: fdai7057 Date: Fri, 10 Feb 2023 20:36:09 +0100 Subject: [PATCH] Modification of build-script and project.yml --- build-project.sh | 8 ++++---- project.yml | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/build-project.sh b/build-project.sh index 14d12da..0f0b53a 100755 --- a/build-project.sh +++ b/build-project.sh @@ -23,13 +23,13 @@ sed '/Name : John/,$d' employeesData.txt > temp.txt mv temp.txt employeesData.txt # backup files -for file in employeeLogin.c mainMenu.c createEmployeeAccount.c; do +for file in employeeLogin.c mainMenu.c createEmployeeAccount.c _file_information.h; do cp "$file" "$file.bak" done # remove 'src/' -for file in employeeLogin.c createEmployeeAccount.c; do +for file in employeeLogin.c createEmployeeAccount.c _file_information.h; do sed -i 's/src\///g' "$file" done @@ -39,12 +39,12 @@ gcc mainMenu.c error.c createEmployeeAccount.c showGeneralInfoEmployee.c employ rm main # restore backups -for file in employeeLogin.c mainMenu.c createEmployeeAccount.c; do +for file in employeeLogin.c mainMenu.c createEmployeeAccount.c _file_information.h; do cp "$file.bak" "$file" done # remove backups -for file in employeeLogin.c.bak mainMenu.c.bak createEmployeeAccount.c.bak; do +for file in employeeLogin.c.bak mainMenu.c.bak createEmployeeAccount.c.bak _file_information.h.bak; do rm "$file" done diff --git a/project.yml b/project.yml index ecf0084..b9be31d 100644 --- a/project.yml +++ b/project.yml @@ -58,6 +58,7 @@ - src/currentCustomerAccountBalance.* - src/depositMoney.* - src/displayDisclaimer.* + - src/sendMoney.* :support: - tests/support - tests/support