forked from kwsch/PKHeX
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.cmd
17 lines (14 loc) · 802 Bytes
/
build.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
for %%X in (Debug Release) do (
pushd %~dp0
dotnet restore /p:Configuration=%%X /p:Platform="Any CPU"
MSBuild.exe PKHeX.WinForms/PKHeX.WinForms.csproj /p:Configuration=%%X
cd ../PKHeX-Plugins
dotnet restore /p:Configuration=%%X /p:Platform="Any CPU"
MSBuild.exe AutoLegalityMod/AutoModPlugins.csproj /p:Configuration=%%X
robocopy AutoLegalityMod\bin\%%X\net8.0-windows ..\PKHeX\PKHeX.WinForms\bin\%%X\net8.0-windows\win-x64\plugins\ AutoModPlugins.dll
cd ../HOME-Live-Plugin
dotnet restore /p:Configuration=%%X /p:Platform="Any CPU"
MSBuild.exe HomeLive.Plugins/HomeLive.Plugins.csproj /p:Configuration=%%X
robocopy HomeLive.Plugins\bin\%%X\net8.0-windows7.0 ..\PKHeX\PKHeX.WinForms\bin\%%X\net8.0-windows\win-x64\plugins\ HomeLive.Plugins.dll
popd
)