Skip to content

Commit 643c68f

Browse files
committed
Change make build scripts delete previous build result
Removes benchmarksdotnet builds
1 parent b0aa082 commit 643c68f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

linux-build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/bash
2+
# Clean build for Linux
3+
4+
rm -rf ./bin/NetworkBenchmarkDotNet-Linux/
25

36
# Options: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-build
47
# Build targets: https://docs.microsoft.com/en-us/dotnet/core/rid-catalog

win-build.bat

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
:: build and run benchmark for windows
1+
:: clean build for windows
2+
3+
if exist .\bin\NetworkBenchmarkDotNet-Windows\ rmdir .\bin\NetworkBenchmarkDotNet-Windows\ /q /s
4+
25
:: Options: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-build
36
:: Build targets: https://docs.microsoft.com/en-us/dotnet/core/rid-catalog
4-
57
dotnet build --configuration Release --framework net5.0 --output .\bin\NetworkBenchmarkDotNet-Windows\
68
PAUSE

0 commit comments

Comments
 (0)