diff --git a/linux-build.sh b/linux-build.sh index fcd44f1..2fb1bb7 100644 --- a/linux-build.sh +++ b/linux-build.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Clean build for Linux + +rm -rf ./bin/NetworkBenchmarkDotNet-Linux/ # Options: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-build # Build targets: https://docs.microsoft.com/en-us/dotnet/core/rid-catalog diff --git a/win-build.bat b/win-build.bat index 6e98cdb..402fee1 100644 --- a/win-build.bat +++ b/win-build.bat @@ -1,6 +1,8 @@ -:: build and run benchmark for windows +:: clean build for windows + +if exist .\bin\NetworkBenchmarkDotNet-Windows\ rmdir .\bin\NetworkBenchmarkDotNet-Windows\ /q /s + :: Options: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-build :: Build targets: https://docs.microsoft.com/en-us/dotnet/core/rid-catalog - dotnet build --configuration Release --framework net5.0 --output .\bin\NetworkBenchmarkDotNet-Windows\ PAUSE