-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathbuild.sh
29 lines (16 loc) · 1.04 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
echo "Cleaning last build..."
rm -rf build
echo "Building just the bot..."
cd src/Bot
dotnet publish -c release -r linux-arm64 --self-contained true -o ../../build/linux-arm64/classic
dotnet publish -c release -r linux-x64 --self-contained true -o ../../build/linux-x64/classic
dotnet publish -c release -r win-x64 --self-contained true -o ../../build/win-x64/classic
dotnet publish -c release -r osx-arm64 --self-contained true -o ../../build/osx-arm64/classic
dotnet publish -c release -r osx-x64 --self-contained true -o ../../build/osx-x64/classic
cd ../../src/UI
echo "Switching to the Avalonia project..."
dotnet publish -c release -r linux-arm64 --self-contained true -o ../../build/linux-arm64/ui
dotnet publish -c release -r linux-x64 --self-contained true -o ../../build/linux-x64/ui
dotnet publish -c release -r win-x64 --self-contained true -o ../../build/win-x64/ui
dotnet publish -c release -r osx-arm64 --self-contained true -o ../../build/osx-arm64/ui
dotnet publish -c release -r osx-x64 --self-contained true -o ../../build/osx-x64/ui