Skip to content

Commit d9c8256

Browse files
committed
Improve build script
1 parent 5a8a451 commit d9c8256

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
build/
12
.idea/
23
.vs/
34
src/Bot/bin/

build.sh

+7-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
dotnet publish -c release -r linux-arm64 --self-contained true && dotnet publish -c release -r linux-x64 --self-contained true && dotnet publish -c release -r win-x64 --self-contained true
1+
cd src/Bot
2+
3+
dotnet publish -c release -r linux-arm64 --self-contained true -o ../../build/linux-arm64
4+
5+
dotnet publish -c release -r linux-x64 --self-contained true -o ../../build/linux-x64
6+
7+
dotnet publish -c release -r win-x64 --self-contained true -o ../../build/win-x64

0 commit comments

Comments
 (0)