-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.bat
25 lines (20 loc) · 911 Bytes
/
build.bat
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
@echo off
echo ********** Build Multi-Monitor Wallpaper Switcher **********
REM var
set configuration=Release
set os=win
echo ********** Build Release_x86 **********
dotnet publish --self-contained false --configuration %configuration% --os %os% --arch x86 -p:PublishDir=..\publish\x86
echo ********** Build Release_x86 Result **********
tree /f .\publish\x86
echo ********** Build Release_x64 **********
dotnet publish --self-contained false --configuration %configuration% --os %os% --arch x64 -p:PublishDir=..\publish\x64
echo ********** Build Release_x64 Result **********
tree /f .\publish\x64
echo ********** Build Release_arm64 **********
dotnet publish --self-contained false --configuration %configuration% --os %os% --arch arm64 -p:PublishDir=..\publish\arm64
echo ********** Build Release_arm64 Result **********
tree /f .\publish\arm64
echo ********** Build Done. **********
REM pause>NUL
exit