From a2ee8d1b93230f9f40da58924ec804a6d7e5a899 Mon Sep 17 00:00:00 2001 From: Maksym Sadovnychyy Date: Sat, 2 Nov 2024 19:50:38 +0100 Subject: [PATCH] (featue): build scripts imlementation and readme improvement --- .gitignore | 2 ++ README.md | 4 +++- src/dotnet_build_script.ps1 | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7fa7210..53a91ee 100644 --- a/.gitignore +++ b/.gitignore @@ -260,3 +260,5 @@ paket-files/ # Python Tools for Visual Studio (PTVS) __pycache__/ *.pyc + +**/build_outputs diff --git a/README.md b/README.md index c591289..05127c7 100644 --- a/README.md +++ b/README.md @@ -84,11 +84,13 @@ A C# application designed to facilitate backup and restore operations to an LTO ### Running the Application -Execute the application by navigating to the project directory and running: +Execute the application by navigating to the project directory `src\MaksIT.LTO.Backup` and running: ```bash dotnet build && dotnet run ``` +or use `dotnet_build_script.bat` to generate executables in `src\build_outputs` + ### Application Menu Upon running, the following options will be presented: diff --git a/src/dotnet_build_script.ps1 b/src/dotnet_build_script.ps1 index 92e95d0..08fbd59 100644 --- a/src/dotnet_build_script.ps1 +++ b/src/dotnet_build_script.ps1 @@ -1,5 +1,5 @@ # Define project path -$projectPath = "./YourProject.csproj" +$projectPath = "./MaksIT.LTO.Backup/MaksIT.LTO.Backup.csproj" # List of runtime identifiers for self-contained deployments $runtimes = @(